changeset 0abedc0e447f in modules/account:default
details: https://hg.tryton.org/modules/account?cmd=changeset&node=0abedc0e447f
description:
        Enforce party required on tests tools default account configuration

        issue10317
        review351761003
diffstat:

 tests/test_account.py |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r c2060d3520d3 -r 0abedc0e447f tests/test_account.py
--- a/tests/test_account.py     Tue Apr 20 09:18:57 2021 +0200
+++ b/tests/test_account.py     Thu Apr 22 07:55:16 2021 +0200
@@ -70,10 +70,12 @@
     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

Reply via email to