style: format code with black

This commit is contained in:
Ankush Menat
2022-03-28 18:52:46 +05:30
parent 21e00da3d6
commit 494bd9ef78
1395 changed files with 91704 additions and 62532 deletions

View File

@@ -8,12 +8,13 @@ from erpnext.regional.united_arab_emirates.setup import make_custom_fields
def execute():
company = frappe.get_all('Company', filters = {'country': ['in', ['Saudi Arabia', 'United Arab Emirates']]})
company = frappe.get_all(
"Company", filters={"country": ["in", ["Saudi Arabia", "United Arab Emirates"]]}
)
if not company:
return
frappe.reload_doc('accounts', 'doctype', 'pos_invoice')
frappe.reload_doc('accounts', 'doctype', 'pos_invoice_item')
frappe.reload_doc("accounts", "doctype", "pos_invoice")
frappe.reload_doc("accounts", "doctype", "pos_invoice_item")
make_custom_fields()