mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-21 10:26:30 +00:00
fix: incorrect valuation rate due to positive qty (#47686)
(cherry picked from commit 6ed97b5fda)
Co-authored-by: Khushi Rawat <142375893+khushi8112@users.noreply.github.com>
This commit is contained in:
@@ -402,7 +402,7 @@ erpnext.assets.AssetCapitalization = class AssetCapitalization extends erpnext.s
|
|||||||
args: {
|
args: {
|
||||||
item_code: item.item_code,
|
item_code: item.item_code,
|
||||||
warehouse: cstr(item.warehouse),
|
warehouse: cstr(item.warehouse),
|
||||||
qty: flt(item.stock_qty),
|
qty: -1 * flt(item.stock_qty),
|
||||||
serial_no: item.serial_no,
|
serial_no: item.serial_no,
|
||||||
posting_date: me.frm.doc.posting_date,
|
posting_date: me.frm.doc.posting_date,
|
||||||
posting_time: me.frm.doc.posting_time,
|
posting_time: me.frm.doc.posting_time,
|
||||||
|
|||||||
Reference in New Issue
Block a user