Check rule only if _check_access is set and enforce companies rule

issue4080
review343891009
This commit is contained in:
Cédric Krier
2021-04-10 23:46:24 +02:00
parent 11eec4c691
commit 82e9ecec80
+2 -2
View File
@@ -7,10 +7,10 @@ from trytond.tests.test_tryton import ModuleTestCase
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 SalePriceListTestCase(CompanyMultiValueTestMixin, ModuleTestCase):
class SalePriceListTestCase(CompanyTestMixin, ModuleTestCase):
'Test SalePriceList module'
module = 'sale_price_list'