Skip to content

Commit

Permalink
fix: do not throw validation for cancelled sle
Browse files Browse the repository at this point in the history
(cherry picked from commit 32ccf35)
  • Loading branch information
rohitwaghchaure authored and mergify[bot] committed Feb 6, 2024
1 parent c78d4c1 commit 02f56ee
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 02f56ee

Please sign in to comment.