From 8092693eec248608e53bd1ab6624c33d3cc825a9 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Mon, 10 Feb 2014 17:06:45 +0100 Subject: [PATCH] [FIX] point_of_sale: distraction error from revision 9814 revid:dle@openerp.com-20140206163444-ckcmurcwk2vhi5vp, missing .id in order to compare company for taxes bzr revid: dle@openerp.com-20140210160645-ww7af7sbkpjf6oss --- addons/point_of_sale/point_of_sale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/point_of_sale/point_of_sale.py b/addons/point_of_sale/point_of_sale.py index 0c077807a6e..206b4a80e67 100644 --- a/addons/point_of_sale/point_of_sale.py +++ b/addons/point_of_sale/point_of_sale.py @@ -1022,7 +1022,7 @@ class pos_order(osv.osv): tax_amount = 0 taxes = [] for t in line.product_id.taxes_id: - if t.company_id == current_company.id: + if t.company_id.id == current_company.id: taxes.append(t) computed_taxes = account_tax_obj.compute_all(cr, uid, taxes, line.price_unit * (100.0-line.discount) / 100.0, line.qty)['taxes']