fix(Asset Repair): Set completion_date on changing repair_status to 'Completed'
This commit is contained in:
parent
68e0c96c03
commit
42fd7ffbc0
@ -28,6 +28,10 @@ frappe.ui.form.on('Asset Repair', {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (frm.doc.repair_status == "Completed") {
|
||||
frm.set_value('completion_date', frappe.datetime.now_datetime());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user