diff --git a/statement.py b/statement.py index 1a41724921..d4a4536503 100644 --- a/statement.py +++ b/statement.py @@ -1064,7 +1064,8 @@ class ReconcileStatement(Wizard): pool = Pool() Statement = pool.get('account.statement') statements = Statement.browse(Transaction().context['active_ids']) - lines = sum((map(int, s.lines_to_reconcile) for s in statements), []) + lines = sum(([int(l) for l in s.lines_to_reconcile] + for s in statements), []) return action, { 'model': 'account.move.line', 'ids': lines,