mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-25 06:02:09 +01:00
fix: stock reco qty with inventory dimension (#47918)
(cherry picked from commit 342cebc778)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
@@ -888,6 +888,10 @@ class StockReconciliation(StockController):
|
|||||||
|
|
||||||
self.update_inventory_dimensions(row, data)
|
self.update_inventory_dimensions(row, data)
|
||||||
|
|
||||||
|
if self.docstatus == 1 and has_dimensions and (not row.batch_no or not row.serial_and_batch_bundle):
|
||||||
|
data.qty_after_transaction = data.actual_qty
|
||||||
|
data.actual_qty = 0.0
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def make_sle_on_cancel(self):
|
def make_sle_on_cancel(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user