From 40485f396da37ccc1a63dc28245fb82a2e3410cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 10 Apr 2021 23:46:24 +0200 Subject: [PATCH] Check rule only if _check_access is set and enforce companies rule issue4080 review343891009 --- tests/test_project_revenue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_project_revenue.py b/tests/test_project_revenue.py index e0bc80bb1f..cf80485d1f 100644 --- a/tests/test_project_revenue.py +++ b/tests/test_project_revenue.py @@ -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']