瀏覽代碼
Merge pull request #14429 from anupamvs/customize-print-format-btn-issue
fix: Customize is not listed in menu item [Print]
version-14
Mohammad Hasnain Mohsin Rajan
3 年之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有
1 個檔案被更改,包括
1 行新增 和
1 行删除
-
frappe/printing/page/print/print.js
|
|
@@ -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() |
|
|
|
); |
|
|
|