[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
This commit is contained in:
parent
69f18925ff
commit
8092693eec
|
@ -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']
|
||||
|
||||
|
|
Loading…
Reference in New Issue