Skip to content

Commit

Permalink
Merge pull request #39812 from frappe/mergify/bp/version-14/pr-39810
Browse files Browse the repository at this point in the history
fix: do not throw validation for canceled SLE (backport #39769) (backport #39810)
  • Loading branch information
rohitwaghchaure authored Feb 8, 2024
2 parents 0822a2b + d6054db commit 408d026
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,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 408d026

Please sign in to comment.