From a131900a74ba991c707824df1237eb424f3166a2 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_credit_limit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_account_credit_limit.py b/tests/test_account_credit_limit.py index ed8dd33198..627df59246 100644 --- a/tests/test_account_credit_limit.py +++ b/tests/test_account_credit_limit.py @@ -9,11 +9,11 @@ from trytond.pool import Pool from trytond.exceptions import UserError, UserWarning from trytond.modules.company.tests import ( - create_company, set_company, CompanyMultiValueTestMixin) + create_company, set_company, CompanyTestMixin) from trytond.modules.account.tests import create_chart, get_fiscalyear -class AccountCreditLimitTestCase(CompanyMultiValueTestMixin, ModuleTestCase): +class AccountCreditLimitTestCase(CompanyTestMixin, ModuleTestCase): 'Test AccountCreditLimit module' module = 'account_credit_limit' extras = ['account_dunning']