mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
account_mass_reconcile: fix in python3 code conversion
This commit is contained in:
committed by
hveficent
parent
5d568b80b0
commit
b205f4383e
@@ -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()`
|
||||
|
||||
Reference in New Issue
Block a user