Merge pull request #14429 from anupamvs/customize-print-format-btn-issue
fix: Customize is not listed in menu item [Print]
This commit is contained in:
commit
b3465f7972
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ frappe.ui.form.PrintView = class {
|
|||
});
|
||||
}
|
||||
|
||||
if (frappe.perm.has_perm('Print Format', 0, 'create')) {
|
||||
if (frappe.model.can_create('Print Format')) {
|
||||
this.page.add_menu_item(__('Customize'), () =>
|
||||
this.edit_print_format()
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue