Merge pull request #34299 from s-aga-r/fix-22-23-05638-2

fix: Stock Reconciliation `actual_qty`
This commit is contained in:
Sagar Sharma 2023-03-04 17:35:05 +05:30 committed by GitHub
commit ac87fca0d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,