fix: Stock Reconciliation actual_qty

This commit is contained in:
s-aga-r 2023-03-04 17:06:07 +05:30
parent 0185096e09
commit 70de444b7b

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,