[FIX] account_bank_statement_extensions: inadvertence error during cbe2dbb

Inadvertence error during the convertion to the new API.

line_ids is already a list, no need to set it again in a list.
This commit is contained in:
Denis Ledoux 2014-08-11 11:50:58 +02:00
parent f28be81bc7
commit 77fd6fe9d4
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class account_bank_statement(osv.osv):
line_ids = [l.id for l in st.line_ids]
cr.execute("UPDATE account_bank_statement_line \
SET state='draft' WHERE id in %s ",
(tuple([line_ids]),))
(tuple(line_ids),))
bank_statement_line_obj.invalidate_cache(cr, uid, ['state'], line_ids, context=context)
return True