mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 15:00:27 +00:00
Merge pull request #34294 from frappe/mergify/bp/version-14-hotfix/pr-34293
fix: `Inventory Dimension` for `Stock Reconciliation` (backport #34293)
This commit is contained in:
@@ -397,6 +397,7 @@ class StockReconciliation(StockController):
|
||||
"voucher_type": self.doctype,
|
||||
"voucher_no": self.name,
|
||||
"voucher_detail_no": row.name,
|
||||
"actual_qty": flt(row.current_qty),
|
||||
"company": self.company,
|
||||
"stock_uom": frappe.db.get_value("Item", row.item_code, "stock_uom"),
|
||||
"is_cancelled": 1 if self.docstatus == 2 else 0,
|
||||
@@ -423,6 +424,8 @@ class StockReconciliation(StockController):
|
||||
data.valuation_rate = flt(row.valuation_rate)
|
||||
data.stock_value_difference = -1 * flt(row.amount_difference)
|
||||
|
||||
self.update_inventory_dimensions(row, data)
|
||||
|
||||
return data
|
||||
|
||||
def make_sle_on_cancel(self):
|
||||
|
||||
Reference in New Issue
Block a user