fix: stock reconciliation negative stock error (#36544)

fix: stock reco negative stock error
This commit is contained in:
rohitwaghchaure 2023-08-08 15:18:27 +05:30 committed by GitHub
parent 11d5327d1b
commit 0b36e7d10e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -696,7 +696,7 @@ class StockReconciliation(StockController):
)
if sl_entries:
self.make_sl_entries(sl_entries)
self.make_sl_entries(sl_entries, allow_negative_stock=True)
def recalculate_qty_for_serial_and_batch_bundle(self, row):
doc = frappe.get_doc("Serial and Batch Bundle", row.current_serial_and_batch_bundle)