From 92520022494dedee54b49474c4a10ac495e8f5cc Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 18 Feb 2015 18:48:30 +0530 Subject: [PATCH] Update taxes_and_totals.py --- erpnext/controllers/taxes_and_totals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/controllers/taxes_and_totals.py b/erpnext/controllers/taxes_and_totals.py index 341b3ca879f..933090d1619 100644 --- a/erpnext/controllers/taxes_and_totals.py +++ b/erpnext/controllers/taxes_and_totals.py @@ -305,7 +305,7 @@ class calculate_taxes_and_totals(object): self.doc.total_taxes_and_charges = flt(self.doc.grand_total - self.doc.net_total + flt(self.doc.discount_amount), self.doc.precision("total_taxes_and_charges")) else: - self.doc.base_taxes_and_charges_added, self.base_taxes_and_charges_deducted = 0.0, 0.0 + self.doc.base_taxes_and_charges_added, self.doc.base_taxes_and_charges_deducted = 0.0, 0.0 for tax in self.doc.get("taxes"): if tax.category in ["Valuation and Total", "Total"]: if tax.add_deduct_tax == "Add":