fix: recalculate operating cost on hour rate change in routing

(cherry picked from commit 598f6f0f4e)
This commit is contained in:
Shllokkk
2026-07-26 13:11:11 +05:30
committed by Mergify
parent 4e8f5de5cb
commit 4fe91bd8b8

View File

@@ -69,6 +69,11 @@ frappe.ui.form.on("BOM Operation", {
const d = locals[cdt][cdn];
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"] = [