feat(UAE VAT Format): use company address for emir
This commit is contained in:
parent
72adb0b218
commit
b8d0b546a7
@ -56,7 +56,8 @@ def make_custom_fields():
|
||||
fieldtype='Read Only', insert_after='customer_name',
|
||||
fetch_from='customer.customer_name_in_arabic', print_hide=1),
|
||||
dict(fieldname='vat_emirate', label='VAT Emirate', insert_after='permit_no', fieldtype='Select',
|
||||
options='\nAbu Dhabi\nAjman\nDubai\nFujairah\nRas Al Khaimah\nSharjah\nUmm Al Quwain'),
|
||||
options='\nAbu Dhabi\nAjman\nDubai\nFujairah\nRas Al Khaimah\nSharjah\nUmm Al Quwain',
|
||||
fetch_from='company_address.emirate'),
|
||||
dict(fieldname='tourist_tax_return', label='Tax Refund provided to Tourists (AED)',
|
||||
insert_after='vat_emirate', fieldtype='Currency', print_hide=1, default='0'),
|
||||
]
|
||||
@ -100,6 +101,10 @@ def make_custom_fields():
|
||||
dict(fieldname='supplier_name_in_arabic', label='Supplier Name in Arabic',
|
||||
fieldtype='Data', insert_after='supplier_name'),
|
||||
],
|
||||
'Address': [
|
||||
dict(fieldname='emirate', label='Emirate', fieldtype='Select', insert_after='state',
|
||||
options='Abu Dhabi\nAjman\nDubai\nFujairah\nRas Al Khaimah\nSharjah\nUmm Al Quwain')
|
||||
],
|
||||
'Purchase Invoice': purchase_invoice_fields + invoice_fields,
|
||||
'Purchase Order': purchase_invoice_fields + invoice_fields,
|
||||
'Purchase Receipt': purchase_invoice_fields + invoice_fields,
|
||||
|
Loading…
x
Reference in New Issue
Block a user