Selaa lähdekoodia

Update disabled_print_settings_for_custom_print_format.py

version-14
Nabin Hait 8 vuotta sitten
committed by GitHub
vanhempi
commit
784f58a27c
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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 Näytä tiedosto

@@ -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
""")
""")

Ladataan…
Peruuta
Tallenna