瀏覽代碼

Update disabled_print_settings_for_custom_print_format.py

version-14
Nabin Hait 8 年之前
committed by GitHub
父節點
當前提交
784f58a27c
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      frappe/patches/v7_1/disabled_print_settings_for_custom_print_format.py

+ 2
- 1
frappe/patches/v7_1/disabled_print_settings_for_custom_print_format.py 查看文件

@@ -6,6 +6,7 @@ from __future__ import unicode_literals
import frappe

def execute():
frappe.reload_doctype('Print Format')
frappe.db.sql("""
update
`tabPrint Format`
@@ -13,4 +14,4 @@ def execute():
align_labels_left = 0, line_breaks = 0, show_section_headings = 0
where
custom_format = 1
""")
""")

Loading…
取消
儲存