浏览代码

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


正在加载...
取消
保存