Skip to content

Commit

Permalink
Merge pull request #39770 from frappe/mergify/bp/version-15-hotfix/pr…
Browse files Browse the repository at this point in the history
…-39769

fix: do not throw validation for canceled SLE (backport #39769)
  • Loading branch information
rohitwaghchaure authored Feb 6, 2024
2 parents c78d4c1 + 02f56ee commit 789aee4
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 789aee4

Please sign in to comment.