From 6e4955ec78611b6441a7544daa1972f0e99e4750 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Mon, 17 May 2010 11:23:45 +0530 Subject: [PATCH] [REF] bzr revid: jvo@tinyerp.com-20100517055345-6lo62607v430blna --- addons/account/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/invoice.py b/addons/account/invoice.py index 67417c0acf2..3264219566b 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -1163,7 +1163,7 @@ class account_invoice_line(osv.osv): t = t - (p * l[2].get('quantity')) taxes = l[2].get('invoice_line_tax_id') if len(taxes[0]) >= 3 and taxes[0][2]: - taxes=tax_obj.browse(cr, uid, taxes[0][2]) + taxes = tax_obj.browse(cr, uid, taxes[0][2]) for tax in tax_obj.compute(cr, uid, taxes, p,l[2].get('quantity'), context.get('address_invoice_id', False), l[2].get('product_id', False), context.get('partner_id', False)): t = t - tax['amount'] return t