fix: intendation error
This commit is contained in:
parent
45fce5a64b
commit
15373f1b2d
@ -10,8 +10,8 @@ def execute():
|
|||||||
return
|
return
|
||||||
|
|
||||||
if frappe.db.exists('DocType', 'Print Format'):
|
if frappe.db.exists('DocType', 'Print Format'):
|
||||||
frappe.reload_doc("regional", "print_format", "ksa_vat_invoice", force=True)
|
frappe.reload_doc("regional", "print_format", "ksa_vat_invoice", force=True)
|
||||||
frappe.reload_doc("regional", "print_format", "ksa_pos_invoice", force=True)
|
frappe.reload_doc("regional", "print_format", "ksa_pos_invoice", force=True)
|
||||||
frappe.db.sql("""UPDATE`tabPrint Format` SET disabled = 1
|
frappe.db.sql("""UPDATE`tabPrint Format` SET disabled = 1
|
||||||
WHERE name IN ('KSA VAT Invoice', 'KSA POS Invoice')
|
WHERE name IN ('KSA VAT Invoice', 'KSA POS Invoice')
|
||||||
""")
|
""")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user