account_mass_reconcile: fix in python3 code conversion
parent
4c79d11f78
commit
046107c7f9
|
@ -173,7 +173,7 @@ class MassReconcileAdvanced(models.AbstractModel):
|
||||||
opp_matchers = self._opposite_matchers(opposite_move_line)
|
opp_matchers = self._opposite_matchers(opposite_move_line)
|
||||||
for matcher in matchers:
|
for matcher in matchers:
|
||||||
try:
|
try:
|
||||||
opp_matcher = opp_matchers.next()
|
opp_matcher = next(opp_matchers)
|
||||||
except StopIteration:
|
except StopIteration:
|
||||||
# if you fall here, you probably missed to put a `yield`
|
# if you fall here, you probably missed to put a `yield`
|
||||||
# in `_opposite_matchers()`
|
# in `_opposite_matchers()`
|
||||||
|
|
Loading…
Reference in New Issue