changeset a97e8f6b8736 in modules/product_price_list_parent:default
details:
https://hg.tryton.org/modules/product_price_list_parent?cmd=changeset&node=a97e8f6b8736
description:
Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
diffstat:
tests/test_product_price_list_parent.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r 35b045dab2ed -r a97e8f6b8736 tests/test_product_price_list_parent.py
--- a/tests/test_product_price_list_parent.py Sat Dec 19 17:08:46 2020 +0100
+++ b/tests/test_product_price_list_parent.py Sat Apr 10 23:46:23 2021 +0200
@@ -8,10 +8,11 @@
from trytond.tests.test_tryton import suite as test_suite
from trytond.pool import Pool
-from trytond.modules.company.tests import create_company, set_company
+from trytond.modules.company.tests import (
+ create_company, set_company, CompanyTestMixin)
-class ProductPriceListParentTestCase(ModuleTestCase):
+class ProductPriceListParentTestCase(CompanyTestMixin, ModuleTestCase):
'Test Product Price List Parent module'
module = 'product_price_list_parent'