From d0c5b3eb07c9fd1a59a91dbd214e6867c14b92d6 Mon Sep 17 00:00:00 2001 From: Kanchan Chauhan Date: Tue, 1 Aug 2017 16:02:01 +0530 Subject: [PATCH] [URGENT] this is me --- erpnext/public/js/controllers/taxes_and_totals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/controllers/taxes_and_totals.js b/erpnext/public/js/controllers/taxes_and_totals.js index 520929560a..fc1b4f523b 100644 --- a/erpnext/public/js/controllers/taxes_and_totals.js +++ b/erpnext/public/js/controllers/taxes_and_totals.js @@ -272,7 +272,7 @@ erpnext.taxes_and_totals = erpnext.payments.extend({ // in tax.total, accumulate grand total for each item tax.total = me.set_cumulative_total(i, tax); - this.set_in_company_currency(tax, + me.set_in_company_currency(tax, ["total", "tax_amount", "tax_amount_after_discount_amount"]); // adjust Discount Amount loss in last tax iteration