瀏覽代碼

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
父節點
當前提交
b3465f7972
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      frappe/printing/page/print/print.js

+ 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()
);


Loading…
取消
儲存