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 b291d29613
commit 2c174b9626
1 file changed
+2 -2
+2 -2
View File
@@ -10,10 +10,10 @@ from trytond.tests.test_tryton import suite as test_suite
from trytond.tests.test_tryton import doctest_teardown
from trytond.tests.test_tryton import doctest_checker
from trytond.modules.company.tests import CompanyMultiValueTestMixin
from trytond.modules.company.tests import CompanyTestMixin
class PurchasePriceListTestCase(CompanyMultiValueTestMixin, ModuleTestCase):
class PurchasePriceListTestCase(CompanyTestMixin, ModuleTestCase):
'Test Purchase Price List module'
module = 'purchase_price_list'