changeset 2eef9d5be3b1 in modules/product:default
details: https://hg.tryton.org/modules/product?cmd=changeset&node=2eef9d5be3b1
description:
Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
diffstat:
tests/test_product.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (16 lines):
diff -r 3ffee4b9f6d6 -r 2eef9d5be3b1 tests/test_product.py
--- a/tests/test_product.py Sat Apr 10 13:36:42 2021 +0200
+++ b/tests/test_product.py Sat Apr 10 23:46:23 2021 +0200
@@ -10,10 +10,10 @@
from trytond.transaction import Transaction
from trytond.pool import Pool
-from trytond.modules.company.tests import CompanyMultiValueTestMixin
+from trytond.modules.company.tests import CompanyTestMixin
-class ProductTestCase(CompanyMultiValueTestMixin, ModuleTestCase):
+class ProductTestCase(CompanyTestMixin, ModuleTestCase):
'Test Product module'
module = 'product'