[FIX] point_of_sale: adapt test for multicompany

Only products without company can have taxes of different companies

Closes #20256 
Fixes #20250
This commit is contained in:
Miquel Raïch
2017-11-03 10:02:43 +01:00
committed by Martin Trigaux
parent 0e7f3be6b6
commit f993ca8ce7
+1
View File
@@ -59,6 +59,7 @@ class TestPointOfSaleCommon(common.TransactionCase):
'company_id': self.ref('stock.res_company_1')
})
self.product4.company_id = False
# I assign those 5 percent taxes on the PCSC349 product as a sale taxes
self.product4.write(
{'taxes_id': [(6, 0, [account_tax_05_incl.id, account_tax_05_incl_chicago.id])]})