From 1081d9eda0be8a0d22c752ae595caa0405114649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 10 Apr 2021 23:46:23 +0200 Subject: [PATCH] Check rule only if _check_access is set and enforce companies rule issue4080 review343891009 --- tests/test_account_deposit.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_account_deposit.py b/tests/test_account_deposit.py index 889a8613ba..5d955eea99 100644 --- a/tests/test_account_deposit.py +++ b/tests/test_account_deposit.py @@ -8,12 +8,11 @@ from trytond.tests.test_tryton import doctest_teardown from trytond.tests.test_tryton import doctest_checker from trytond.modules.company.tests import ( - PartyCompanyCheckEraseMixin, CompanyMultiValueTestMixin) + PartyCompanyCheckEraseMixin, CompanyTestMixin) class AccountDepositTestCase( - PartyCompanyCheckEraseMixin, CompanyMultiValueTestMixin, - ModuleTestCase): + PartyCompanyCheckEraseMixin, CompanyTestMixin, ModuleTestCase): 'Test Account Deposit module' module = 'account_deposit'