From 077c842a7e34d3e01a48fa4f79fb9ff6915333f7 Mon Sep 17 00:00:00 2001 From: Joel Grand-Guillaume Date: Tue, 18 Dec 2012 22:06:21 +0100 Subject: [PATCH] [MIGR] Fix *transaction* module + completion_voucher -> I think we'll remove this module once as it doesn't apply any more. --- account_statement_base_completion/statement.py | 2 +- account_statement_completion_voucher/statement_view.xml | 6 +++--- .../statement_view.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/account_statement_base_completion/statement.py b/account_statement_base_completion/statement.py index 231bf655..d79d8eb8 100644 --- a/account_statement_base_completion/statement.py +++ b/account_statement_base_completion/statement.py @@ -382,6 +382,6 @@ class AccountBankSatement(Model): if res: vals = res[line.id] vals['already_completed'] = True - stat_line_obj.write(cr, uid, line.id, vals, context=ctx) + stat_line_obj.write(cr, uid, [line.id], vals, context=ctx) self.write_completion_log(cr, uid, stat.id, msg, compl_lines, context=context) return True diff --git a/account_statement_completion_voucher/statement_view.xml b/account_statement_completion_voucher/statement_view.xml index 5ed68ffd..a726aafa 100644 --- a/account_statement_completion_voucher/statement_view.xml +++ b/account_statement_completion_voucher/statement_view.xml @@ -3,19 +3,19 @@ - + diff --git a/account_statement_transactionid_completion/statement_view.xml b/account_statement_transactionid_completion/statement_view.xml index cf04e6bd..5854791f 100644 --- a/account_statement_transactionid_completion/statement_view.xml +++ b/account_statement_transactionid_completion/statement_view.xml @@ -10,7 +10,7 @@ form - +