From a21f49dd944c8ddd7f4085ac9ed98c3ce5268376 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 12 May 2016 15:52:08 +0530 Subject: [PATCH] Tax rate in chart of accounts --- .../doctype/account/chart_of_accounts/chart_of_accounts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py b/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py index 768e6de90c3..aaa0a18dbff 100644 --- a/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py +++ b/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py @@ -37,7 +37,8 @@ def create_charts(chart_name, company): "root_type": root_type, "report_type": report_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: