소스 검색
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
No known key found for this signature in database
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() |
|
|
|
); |
|
|
|