mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-12 14:11:46 +00:00
fix: recalculate operating cost on hour rate change in routing
(cherry picked from commit 598f6f0f4e)
This commit is contained in:
@@ -69,6 +69,11 @@ frappe.ui.form.on("BOM Operation", {
|
|||||||
const d = locals[cdt][cdn];
|
const d = locals[cdt][cdn];
|
||||||
frm.events.calculate_operating_cost(frm, d);
|
frm.events.calculate_operating_cost(frm, d);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
hour_rate: function (frm, cdt, cdn) {
|
||||||
|
const d = locals[cdt][cdn];
|
||||||
|
frm.events.calculate_operating_cost(frm, d);
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
frappe.tour["Routing"] = [
|
frappe.tour["Routing"] = [
|
||||||
|
|||||||
Reference in New Issue
Block a user