From 973d784810d1024e912a6d3b6ac032cd993bda26 Mon Sep 17 00:00:00 2001 From: "Mayur Maheshwari (OpenERP)" Date: Mon, 5 Nov 2012 14:10:37 +0530 Subject: [PATCH] [FIX]account_voucher : improved code bzr revid: mma@tinyerp.com-20121105084037-iuqq0l9lln1o9e4j --- addons/account_voucher/account_voucher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py index cb4d702a750..2952809e02b 100644 --- a/addons/account_voucher/account_voucher.py +++ b/addons/account_voucher/account_voucher.py @@ -384,7 +384,7 @@ class account_voucher(osv.osv): for line in voucher.line_ids: for tax_line in tax_pool.compute_all(cr, uid, tax, line.amount, 1).get('taxes', []): total_tax += tax_line.get('amount', 0.0) - total += total_tax + total += total_tax else: for line in voucher.line_ids: line_total = 0.0