changeset f7b861a0f9c2 in modules/stock_inventory_location:default
details:
https://hg.tryton.org/modules/stock_inventory_location?cmd=changeset&node=f7b861a0f9c2
description:
Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
diffstat:
tests/test_stock_inventory_location.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (17 lines):
diff -r 7edee43f2c4f -r f7b861a0f9c2 tests/test_stock_inventory_location.py
--- a/tests/test_stock_inventory_location.py Fri Mar 05 15:49:20 2021 +0100
+++ b/tests/test_stock_inventory_location.py Sat Apr 10 23:46:24 2021 +0200
@@ -6,11 +6,10 @@
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'