From 88c14402e692baf91fb8d7b2923b85cc46536967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 31 Aug 2020 18:17:34 +0200 Subject: [PATCH] Add party parameter to get_parties of Reconcile wizard issue9458 --- account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account.py b/account.py index 4f97a4ccae..882ac32c01 100644 --- a/account.py +++ b/account.py @@ -47,7 +47,7 @@ class AccountType(AccountTypeMixin(), metaclass=PoolMeta): class Reconcile(metaclass=PoolMeta): __name__ = 'account.reconcile' - def get_parties(self, account, _balanced=False): + def get_parties(self, account, _balanced=False, party=None): if account.type.deposit: _balanced = True - return super().get_parties(account, _balanced=_balanced) + return super().get_parties(account, _balanced=_balanced, party=party)