mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-01 11:22:11 +02:00
fix: leave application status fix
This commit is contained in:
@@ -85,6 +85,10 @@ frappe.ui.form.on("Leave Application", {
|
||||
frm.set_value('employee', perm['Employee'].map(perm_doc => perm_doc.doc)[0]);
|
||||
}
|
||||
}
|
||||
|
||||
if (frm.doc.docstatus) {
|
||||
frm.set_df_property("status", "read_only", 1);
|
||||
}
|
||||
},
|
||||
|
||||
employee: function(frm) {
|
||||
|
||||
Reference in New Issue
Block a user