feat: Taxjar Integration Added

This commit is contained in:
vishdha
2020-03-24 11:31:41 +05:30
committed by Rohan Bansal
parent 3ab8d865dd
commit d3ec1c1d89
12 changed files with 434 additions and 5 deletions

View File

@@ -14,6 +14,22 @@ def make_custom_fields(update=True):
'Supplier': [
dict(fieldname='irs_1099', fieldtype='Check', insert_after='tax_id',
label='Is IRS 1099 reporting required for supplier?')
],
'Sales Order': [
dict(fieldname='exempt_from_sales_tax', fieldtype='Check', insert_after='taxes_and_charges',
label='Is customer exempted from sales tax?')
],
'Sales Invoice': [
dict(fieldname='exempt_from_sales_tax', fieldtype='Check', insert_after='taxes_section',
label='Is customer exempted from sales tax?')
],
'Customer': [
dict(fieldname='exempt_from_sales_tax', fieldtype='Check', insert_after='represents_company',
label='Is customer exempted from sales tax?')
],
'Quotation': [
dict(fieldname='exempt_from_sales_tax', fieldtype='Check', insert_after='taxes_and_charges',
label='Is customer exempted from sales tax?')
]
}
create_custom_fields(custom_fields, update=update)