From aeb5166a2c6a41ab1777b1869ee41f694d1541fd Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Mon, 6 May 2019 13:04:44 +0200 Subject: [PATCH] [FIX] sale_{management,product_configurator} Correct forward-port of 29052c5328756a0bdae443f7cec0a95c4413bd1f --- addons/sale_management/tests/test_sale_ui.py | 2 -- .../tests/test_sale_product_configurator_ui.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/addons/sale_management/tests/test_sale_ui.py b/addons/sale_management/tests/test_sale_ui.py index d08d5d60f7a..cf107b02ebc 100644 --- a/addons/sale_management/tests/test_sale_ui.py +++ b/addons/sale_management/tests/test_sale_ui.py @@ -7,5 +7,3 @@ class TestUi(odoo.tests.HttpCase): def test_01_sale_tour(self): self.phantom_js("/web", "odoo.__DEBUG__.services['web_tour.tour'].run('sale_tour')", "odoo.__DEBUG__.services['web_tour.tour'].tours.sale_tour.ready", login="admin") - - self.env.ref('account.group_show_line_subtotals_tax_included').users |= admin \ No newline at end of file diff --git a/addons/sale_product_configurator/tests/test_sale_product_configurator_ui.py b/addons/sale_product_configurator/tests/test_sale_product_configurator_ui.py index 8470090c7a8..043341f1c67 100644 --- a/addons/sale_product_configurator/tests/test_sale_product_configurator_ui.py +++ b/addons/sale_product_configurator/tests/test_sale_product_configurator_ui.py @@ -127,8 +127,8 @@ class TestUi(odoo.tests.HttpCase): admin = self.env.ref('base.user_admin') # Activate B2C - self.env.ref('account.group_show_line_subtotals_tax_included').users |= admin self.env.ref('account.group_show_line_subtotals_tax_excluded').users -= admin + self.env.ref('account.group_show_line_subtotals_tax_included').users |= admin # Active pricelist on SO self.env.ref('product.group_sale_pricelist').users |= admin