[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:
committed by
Martin Trigaux
parent
0e7f3be6b6
commit
f993ca8ce7
@@ -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])]})
|
||||
|
||||
Reference in New Issue
Block a user