Skip to content

Commit

Permalink
revert src/main/java/org/isf/medicalstock/manager/MovStockInsertingMa…
Browse files Browse the repository at this point in the history
…nager.java
  • Loading branch information
ArnaudFofou committed Oct 30, 2024
1 parent 45fae91 commit fa14c0e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ protected void validateMovement(Movement movement, boolean checkReference) throw
*/
Lot lot = movement.getLot();
if (lot != null) {
String code = lot.getCode();
lot = this.getLot(code);

if (isCharge && !isAutomaticLotIn() || !isCharge && !isAutomaticLotOut()) {
// check everything
validateLot(errors, lot, true);
Expand Down

0 comments on commit fa14c0e

Please sign in to comment.