From f3eeb7b52a24c92b3a51986e48569c97a2bcb132 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_sale_credit_limit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_sale_credit_limit.py b/tests/test_sale_credit_limit.py index 52ec041f74..9f0b35baad 100644 --- a/tests/test_sale_credit_limit.py +++ b/tests/test_sale_credit_limit.py @@ -8,12 +8,12 @@ from trytond.pool import Pool from trytond.exceptions import 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 from trytond.modules.account_invoice.tests import set_invoice_sequences -class SaleCreditLimitTestCase(CompanyMultiValueTestMixin, ModuleTestCase): +class SaleCreditLimitTestCase(CompanyTestMixin, ModuleTestCase): 'Test SaleCreditLimit module' module = 'sale_credit_limit'