소스 검색

Fixes for align labels right

version-14
Nabin Hait 7 년 전
부모
커밋
4d4e5dcc02
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -1
      frappe/patches/v7_1/disabled_print_settings_for_custom_print_format.py
  2. +1
    -1
      frappe/printing/doctype/print_format/print_format.js

+ 1
- 1
frappe/patches/v7_1/disabled_print_settings_for_custom_print_format.py 파일 보기

@@ -11,7 +11,7 @@ def execute():
update
`tabPrint Format`
set
align_labels_left = 0, line_breaks = 0, show_section_headings = 0
align_labels_right = 0, line_breaks = 0, show_section_headings = 0
where
custom_format = 1
""")

+ 1
- 1
frappe/printing/doctype/print_format/print_format.js 파일 보기

@@ -43,7 +43,7 @@ frappe.ui.form.on("Print Format", {
},
custom_format: function(frm) {
var value = frm.doc.custom_format ? 0:1;
frm.set_value('align_labels_left', value);
frm.set_value('align_labels_right', value);
frm.set_value('show_section_headings', value);
frm.set_value('line_breaks', value);
frm.trigger('render_buttons');


불러오는 중...
취소
저장