From bef32ea97899a2a95665dc129cec470bf2d422e9 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Wed, 22 Aug 2018 09:57:44 +0200 Subject: [PATCH] Group by account and party when reconciling cancel moves issue7602 review45681002 --- move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move.py b/move.py index ca008c34de..394c259c2f 100644 --- a/move.py +++ b/move.py @@ -1708,7 +1708,7 @@ class CancelMoves(Wizard): to_reconcile = defaultdict(list) for line in move.lines + cancel_move.lines: if line.account.reconcile: - to_reconcile[line.account].append(line) + to_reconcile[(line.account, line.party)].append(line) for lines in to_reconcile.values(): Line.reconcile(lines) return 'end'