feat(UAE VAT Format): add fields for emirates in address and sales invoice
This commit is contained in:
parent
06130ee56b
commit
2744765757
@ -41,6 +41,8 @@ def make_custom_fields():
|
|||||||
dict(fieldname='customer_name_in_arabic', label='Customer Name in Arabic',
|
dict(fieldname='customer_name_in_arabic', label='Customer Name in Arabic',
|
||||||
fieldtype='Read Only', insert_after='customer_name',
|
fieldtype='Read Only', insert_after='customer_name',
|
||||||
fetch_from='customer.customer_name_in_arabic', print_hide=1),
|
fetch_from='customer.customer_name_in_arabic', print_hide=1),
|
||||||
|
dict(fieldname='emirate', label='Emirate', insert_after='customer_address',
|
||||||
|
fetch_from='customer_address.emirates'),
|
||||||
]
|
]
|
||||||
|
|
||||||
invoice_item_fields = [
|
invoice_item_fields = [
|
||||||
@ -76,6 +78,10 @@ def make_custom_fields():
|
|||||||
dict(fieldname='supplier_name_in_arabic', label='Supplier Name in Arabic',
|
dict(fieldname='supplier_name_in_arabic', label='Supplier Name in Arabic',
|
||||||
fieldtype='Data', insert_after='supplier_name'),
|
fieldtype='Data', insert_after='supplier_name'),
|
||||||
],
|
],
|
||||||
|
'Address': [
|
||||||
|
dict(fieldname='emirates', label='Emirates',
|
||||||
|
fieldtype='Data', insert_after='state'),
|
||||||
|
],
|
||||||
'Purchase Invoice': purchase_invoice_fields + invoice_fields,
|
'Purchase Invoice': purchase_invoice_fields + invoice_fields,
|
||||||
'Purchase Order': purchase_invoice_fields + invoice_fields,
|
'Purchase Order': purchase_invoice_fields + invoice_fields,
|
||||||
'Purchase Receipt': purchase_invoice_fields + invoice_fields,
|
'Purchase Receipt': purchase_invoice_fields + invoice_fields,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user