From 5f2675a0273dcdaba8daa27e3d008f444d3077d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 10 Apr 2021 23:46:24 +0200 Subject: [PATCH] Check rule only if _check_access is set and enforce companies rule issue4080 review343891009 --- tests/test_stock_inventory_location.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_stock_inventory_location.py b/tests/test_stock_inventory_location.py index 8c36e8eaca..2c5bcfbc20 100644 --- a/tests/test_stock_inventory_location.py +++ b/tests/test_stock_inventory_location.py @@ -6,11 +6,10 @@ import trytond.tests.test_tryton from trytond.tests.test_tryton import ModuleTestCase from trytond.tests.test_tryton import doctest_teardown, doctest_checker -from trytond.modules.company.tests import CompanyMultiValueTestMixin +from trytond.modules.company.tests import CompanyTestMixin -class StockInventoryLocationTestCase( - CompanyMultiValueTestMixin, ModuleTestCase): +class StockInventoryLocationTestCase(CompanyTestMixin, ModuleTestCase): 'Test StockInventoryLocation module' module = 'stock_inventory_location'