fix: Stock Reconciliation actual_qty

(cherry picked from commit 70de444b7b)
This commit is contained in:
s-aga-r
2023-03-04 17:06:07 +05:30
committed by Mergify
parent 2f74427132
commit d97c1bf0f4

View File

@@ -397,7 +397,7 @@ class StockReconciliation(StockController):
"voucher_type": self.doctype,
"voucher_no": self.name,
"voucher_detail_no": row.name,
"actual_qty": flt(row.current_qty),
"actual_qty": 0,
"company": self.company,
"stock_uom": frappe.db.get_value("Item", row.item_code, "stock_uom"),
"is_cancelled": 1 if self.docstatus == 2 else 0,