fixes time log hours calculation
This commit is contained in:
parent
d3179a733b
commit
8e4cf13d01
@ -7,7 +7,7 @@ frappe.ui.form.on("Time Log", "onload", function(frm) {
|
||||
if (frm.doc.for_manufacturing) {
|
||||
frappe.ui.form.trigger("Time Log", "production_order");
|
||||
}
|
||||
if (frm.doc.to_time && frm.doc.to_time) {
|
||||
if (frm.doc.from_time && frm.doc.to_time) {
|
||||
frappe.ui.form.trigger("Time Log", "to_time");
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user