From f993ca8ce730e5be3a5cf4067d4ca66592f927f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Fri, 3 Nov 2017 10:02:43 +0100 Subject: [PATCH] [FIX] point_of_sale: adapt test for multicompany Only products without company can have taxes of different companies Closes #20256 Fixes #20250 --- addons/point_of_sale/tests/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/point_of_sale/tests/common.py b/addons/point_of_sale/tests/common.py index 4c5597979c6..1352e7e2e9f 100644 --- a/addons/point_of_sale/tests/common.py +++ b/addons/point_of_sale/tests/common.py @@ -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])]})