Tax rate in chart of accounts
This commit is contained in:
parent
e4670a9a45
commit
a21f49dd94
@ -37,7 +37,8 @@ def create_charts(chart_name, company):
|
|||||||
"root_type": root_type,
|
"root_type": root_type,
|
||||||
"report_type": report_type,
|
"report_type": report_type,
|
||||||
"account_type": child.get("account_type"),
|
"account_type": child.get("account_type"),
|
||||||
"account_currency": frappe.db.get_value("Company", company, "default_currency")
|
"account_currency": frappe.db.get_value("Company", company, "default_currency"),
|
||||||
|
"tax_rate": child.get("tax_rate")
|
||||||
})
|
})
|
||||||
|
|
||||||
if root_account or frappe.local.flags.allow_unverified_charts:
|
if root_account or frappe.local.flags.allow_unverified_charts:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user