Пример #1
0
def execute():
    company = frappe.get_all(
        'Company',
        filters={'country': ['in', ['Saudi Arabia', 'United Arab Emirates']]})
    if not company:
        return

    make_custom_fields()
def execute():
    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')

    make_custom_fields()
Пример #3
0
def execute():
	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")

	make_custom_fields()
Пример #4
0
def setup(company=None, patch=True):
    make_custom_fields()
    add_print_formats()

    if company:
        create_sales_tax(company)
Пример #5
0
def setup(company=None, patch=True):
	make_custom_fields()
	add_print_formats()

	if company:
		create_sales_tax(company)
Пример #6
0
def setup(company=None, patch=True):
	make_custom_fields()
	add_print_formats()