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 e8cdf66d63
commit 40485f396d
+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 ProjectRevenueTestCase(CompanyMultiValueTestMixin, ModuleTestCase):
class ProjectRevenueTestCase(CompanyTestMixin, ModuleTestCase):
'Test ProjectRevenue module'
module = 'project_revenue'
extras = ['purchase']