From 046107c7f97f528a9a5825119c114ff44df18c4c Mon Sep 17 00:00:00 2001 From: Jordi Ballester Alomar Date: Wed, 25 Jul 2018 17:40:59 +0200 Subject: [PATCH] account_mass_reconcile: fix in python3 code conversion --- account_mass_reconcile/models/base_advanced_reconciliation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_mass_reconcile/models/base_advanced_reconciliation.py b/account_mass_reconcile/models/base_advanced_reconciliation.py index 3b4fba16..a2c3d50d 100644 --- a/account_mass_reconcile/models/base_advanced_reconciliation.py +++ b/account_mass_reconcile/models/base_advanced_reconciliation.py @@ -173,7 +173,7 @@ class MassReconcileAdvanced(models.AbstractModel): opp_matchers = self._opposite_matchers(opposite_move_line) for matcher in matchers: try: - opp_matcher = opp_matchers.next() + opp_matcher = next(opp_matchers) except StopIteration: # if you fall here, you probably missed to put a `yield` # in `_opposite_matchers()`