mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-20 18:54:55 +00:00
fix: stock qty not recalculate on changing of the qty
(cherry picked from commit464e3339fe) (cherry picked from commit331798babc)
This commit is contained in:
committed by
Mergify
parent
d9c1b58fc3
commit
9186f13458
@@ -1331,6 +1331,8 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
|
|||||||
() => this.calculate_stock_uom_rate(doc, cdt, cdn),
|
() => this.calculate_stock_uom_rate(doc, cdt, cdn),
|
||||||
() => this.apply_pricing_rule(item, true)
|
() => this.apply_pricing_rule(item, true)
|
||||||
]);
|
]);
|
||||||
|
} else {
|
||||||
|
this.conversion_factor(doc, cdt, cdn, true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user