mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 06:28:29 +00:00
[enhance] UAE/KSA VAT/Excise implementation (#11923)
This commit is contained in:
committed by
Nabin Hait
parent
ea723e59c6
commit
4e17fae63b
@@ -649,7 +649,37 @@
|
||||
"reqd": 0,
|
||||
"search_index": 0,
|
||||
"set_only_once": 0,
|
||||
"unique": 0
|
||||
"unique": 0
|
||||
},
|
||||
{
|
||||
"allow_bulk_edit": 0,
|
||||
"allow_on_submit": 0,
|
||||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"columns": 0,
|
||||
"fieldname": "tax_id",
|
||||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_global_search": 0,
|
||||
"in_list_view": 0,
|
||||
"in_standard_filter": 0,
|
||||
"label": "Tax ID",
|
||||
"length": 0,
|
||||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"precision": "",
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"remember_last_selected_value": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
"search_index": 0,
|
||||
"set_only_once": 0,
|
||||
"unique": 0
|
||||
},
|
||||
{
|
||||
"allow_bulk_edit": 0,
|
||||
@@ -1991,6 +2021,7 @@
|
||||
"istable": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": 0,
|
||||
"modified": "2017-12-07 17:40:24.646920",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Setup",
|
||||
"name": "Company",
|
||||
|
||||
@@ -324,7 +324,7 @@ def install_country_fixtures(company):
|
||||
path = frappe.get_app_path('erpnext', 'regional', frappe.scrub(company_doc.country))
|
||||
if os.path.exists(path.encode("utf-8")):
|
||||
frappe.get_attr("erpnext.regional.{0}.setup.setup"
|
||||
.format(company_doc.country.lower()))(company_doc)
|
||||
.format(frappe.scrub(company_doc.country)))(company_doc)
|
||||
|
||||
def update_company_current_month_sales(company):
|
||||
current_month_year = formatdate(today(), "MM-yyyy")
|
||||
|
||||
@@ -1077,6 +1077,29 @@
|
||||
}
|
||||
},
|
||||
|
||||
"Saudi Arabia": {
|
||||
"KSA VAT 5%": {
|
||||
"account_name": "VAT 5%",
|
||||
"tax_rate": 5.00
|
||||
},
|
||||
"KSA VAT Zero": {
|
||||
"account_name": "VAT Zero",
|
||||
"tax_rate": 0.00
|
||||
},
|
||||
"KSA VAT Exempted": {
|
||||
"account_name": "VAT Exempted",
|
||||
"tax_rate": 0.00
|
||||
},
|
||||
"KSA Excise 50%": {
|
||||
"account_name": "Excise 50%",
|
||||
"tax_rate": 50.00
|
||||
},
|
||||
"KSA Excise 100%": {
|
||||
"account_name": "Excise 100%",
|
||||
"tax_rate": 100.00
|
||||
}
|
||||
},
|
||||
|
||||
"Serbia": {
|
||||
"Serbia Tax": {
|
||||
"account_name": "VAT",
|
||||
@@ -1311,6 +1334,29 @@
|
||||
}
|
||||
},
|
||||
|
||||
"United Arab Emirates": {
|
||||
"UAE VAT 5%": {
|
||||
"account_name": "VAT 5%",
|
||||
"tax_rate": 5.00
|
||||
},
|
||||
"UAE VAT Zero": {
|
||||
"account_name": "VAT Zero",
|
||||
"tax_rate": 0.00
|
||||
},
|
||||
"UAE VAT Exempted": {
|
||||
"account_name": "VAT Exempted",
|
||||
"tax_rate": 0.00
|
||||
},
|
||||
"UAE Excise 50%": {
|
||||
"account_name": "Excise 50%",
|
||||
"tax_rate": 50.00
|
||||
},
|
||||
"UAE Excise 100%": {
|
||||
"account_name": "Excise 100%",
|
||||
"tax_rate": 100.00
|
||||
}
|
||||
},
|
||||
|
||||
"United Kingdom": {
|
||||
"United Kingdom Tax": {
|
||||
"account_name": "VAT",
|
||||
|
||||
Reference in New Issue
Block a user