style: format code with black
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user