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