Check rule only if _check_access is set and enforce companies rule

issue4080
review343891009
This commit is contained in:
Cédric Krier committed 2021-04-10 23:46:24 +02:00
1 parent 3fc923bb43
commit 5f2675a027
1 file changed
+2 -3
+2 -3
View File
@@ -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'