From 6b70ecf0f3fa07a2d863cd231b6ce63201d826c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 5 May 2023 12:24:08 +0200 Subject: [PATCH] Test currency instead of party when reconcile automatically Closes #12258 --- modules/account/move.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/account/move.py b/modules/account/move.py index 28fc1e7366..363f523df5 100644 --- a/modules/account/move.py +++ b/modules/account/move.py @@ -2167,8 +2167,9 @@ class Reconcile(Wizard): while lines: Line.reconcile(lines) lines = self._default_lines() - if not self.get_parties( - self.show.account, party=self.show.party): + if not self.get_currencies( + self.show.account, self.show.party, + currency=self.show.currency): return 'next_' elif not lines and self.start.only_balanced: return 'next_'