mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-21 19:25:16 +00:00
Merge pull request #39812 from frappe/mergify/bp/version-14/pr-39810
fix: do not throw validation for canceled SLE (backport #39769) (backport #39810)
This commit is contained in:
@@ -53,6 +53,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 = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user