fix: intendation error

This commit is contained in:
Dany Robert 2021-12-07 18:34:34 +05:30 committed by GitHub
parent 45fce5a64b
commit 15373f1b2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,8 @@ def execute():
return
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_pos_invoice", force=True)
frappe.db.sql("""UPDATE`tabPrint Format` SET disabled = 1
WHERE name IN ('KSA VAT Invoice', 'KSA POS Invoice')
""")
frappe.reload_doc("regional", "print_format", "ksa_vat_invoice", force=True)
frappe.reload_doc("regional", "print_format", "ksa_pos_invoice", force=True)
frappe.db.sql("""UPDATE`tabPrint Format` SET disabled = 1
WHERE name IN ('KSA VAT Invoice', 'KSA POS Invoice')
""")