Skip to content

Commit

Permalink
Merge pull request #39769 from rohitwaghchaure/fixed-inventory-dimens…
Browse files Browse the repository at this point in the history
…ion-validation-8004

fix: do not throw validation for canceled SLE
  • Loading branch information
rohitwaghchaure authored Feb 6, 2024
2 parents d6d9125 + 32ccf35 commit ab9d657
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ def validate(self):
self.validate_inventory_dimension_negative_stock()

def validate_inventory_dimension_negative_stock(self):
if self.is_cancelled:
return

extra_cond = ""
kwargs = {}

Expand Down

0 comments on commit ab9d657

Please sign in to comment.