fix: stock reco qty with inventory dimension (#47918) (cherry picked from commit342cebc778) Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com> (cherry picked from commit6d2c14c75e)
This commit is contained in:
@@ -887,6 +887,10 @@ class StockReconciliation(StockController):
|
||||
|
||||
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
|
||||
|
||||
def make_sle_on_cancel(self):
|
||||
|
||||
Reference in New Issue
Block a user