replace department group to department
This commit is contained in:
parent
0fd562e0d9
commit
7df03a4b5b
@ -6,7 +6,7 @@ frappe.ui.form.on('Department', {
|
|||||||
// read-only for root department
|
// read-only for root department
|
||||||
if(!frm.doc.parent_department) {
|
if(!frm.doc.parent_department) {
|
||||||
cur_frm.set_read_only();
|
cur_frm.set_read_only();
|
||||||
cur_frm.set_intro(__("This is a root department group and cannot be edited."));
|
cur_frm.set_intro(__("This is a root department and cannot be edited."));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
validate: function(frm) {
|
validate: function(frm) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user