From 9ad5356fa57dd02c428654fb65cc962b841591da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 11 May 2023 09:38:33 +0200 Subject: [PATCH] Call get_currencies from super to add balanced when reconcile deposit account The changeset f9560247a0fc changed the name of the function without renaming the super call. Closes #12266 --- modules/account_deposit/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account_deposit/account.py b/modules/account_deposit/account.py index 0f1b5d86fa..83a5605ecc 100644 --- a/modules/account_deposit/account.py +++ b/modules/account_deposit/account.py @@ -49,5 +49,5 @@ class Reconcile(metaclass=PoolMeta): def get_currencies(self, account, party, currency=None, _balanced=False): if account.type.deposit: _balanced = True - return super().get_parties( + return super().get_currencies( account, party, currency=None, _balanced=_balanced)