account_mass_reconcile: fix in python3 code conversion

pull/235/head
Jordi Ballester Alomar 2018-07-25 17:40:59 +02:00 committed by Adrià Gil Sorribes
parent 4c79d11f78
commit 046107c7f9
1 changed files with 1 additions and 1 deletions

View File

@ -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()`