fix: do not throw validation for cancelled sle
(cherry picked from commit 32ccf3524ad973b1bc8c5c7eefa4c79f5d8b4444)
This commit is contained in:
parent
c78d4c15d3
commit
02f56ee20e
@ -93,6 +93,9 @@ class StockLedgerEntry(Document):
|
||||
self.validate_inventory_dimension_negative_stock()
|
||||
|
||||
def validate_inventory_dimension_negative_stock(self):
|
||||
if self.is_cancelled:
|
||||
return
|
||||
|
||||
extra_cond = ""
|
||||
kwargs = {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user