fix: Add email perm in set_read_only mode for workflow
This commit is contained in:
parent
0511862431
commit
ca2e28082c
1 changed files with 1 additions and 1 deletions
|
|
@ -1224,7 +1224,7 @@ frappe.ui.form.Form = class FrappeForm {
|
|||
var docperms = frappe.perm.get_perm(this.doc.doctype);
|
||||
for (var i=0, l=docperms.length; i<l; i++) {
|
||||
var p = docperms[i];
|
||||
perm[p.permlevel || 0] = {read:1, print:1, cancel:1};
|
||||
perm[p.permlevel || 0] = {read:1, print:1, cancel:1, email:1};
|
||||
}
|
||||
this.perm = perm;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue