From a5cdab4d30949bb3ef837e1bc730e31636317ed9 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Thu, 22 Apr 2021 07:55:16 +0200 Subject: [PATCH] Enforce party required on tests tools default account configuration issue10317 review351761003 --- tests/test_account.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_account.py b/tests/test_account.py index 653678d7f5..e99a2cb5f7 100644 --- a/tests/test_account.py +++ b/tests/test_account.py @@ -70,10 +70,12 @@ def create_chart(company, tax=False, chart='account.account_template_root_en'): create_chart.transition_create_account() receivable, = Account.search([ ('type.receivable', '=', True), + ('party_required', '=', True), ('company', '=', company.id), ], limit=1) payable, = Account.search([ ('type.payable', '=', True), + ('party_required', '=', True), ('company', '=', company.id), ], limit=1) create_chart.properties.company = company