Merge branch 'develop' into early-payment-loss
This commit is contained in:
commit
b5f80815a1
@ -397,6 +397,7 @@ class StockReconciliation(StockController):
|
||||
"voucher_type": self.doctype,
|
||||
"voucher_no": self.name,
|
||||
"voucher_detail_no": row.name,
|
||||
"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,
|
||||
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user