From ca5b593e3898e91e87aae792665624a1dd1a2a34 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 12 Nov 2015 20:00:50 +0530 Subject: [PATCH] [hotfix] setup wizard tax rate --- erpnext/setup/setup_wizard/setup_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/setup/setup_wizard/setup_wizard.py b/erpnext/setup/setup_wizard/setup_wizard.py index 90856cade9..2289e26715 100644 --- a/erpnext/setup/setup_wizard/setup_wizard.py +++ b/erpnext/setup/setup_wizard/setup_wizard.py @@ -255,7 +255,7 @@ def create_taxes(args): for i in xrange(1,6): if args.get("tax_" + str(i)): # replace % in case someone also enters the % symbol - tax_rate = (args.get("tax_rate_" + str(i)) or "").replace("%", "") + tax_rate = cstr(args.get("tax_rate_" + str(i)) or "").replace("%", "") try: tax_group = frappe.db.get_value("Account", {"company": args.get("company_name"),