From 5d55459fa2a89f79ffa5c9cc851175d1936ac83c Mon Sep 17 00:00:00 2001 From: Leonardo Pistone Date: Tue, 18 Feb 2014 10:48:02 +0100 Subject: [PATCH] [imp] migration comment --- .../migrations/0.3/post-set-statement-line-state.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/account_statement_cancel_line/migrations/0.3/post-set-statement-line-state.py b/account_statement_cancel_line/migrations/0.3/post-set-statement-line-state.py index 10514e49..1772bfae 100644 --- a/account_statement_cancel_line/migrations/0.3/post-set-statement-line-state.py +++ b/account_statement_cancel_line/migrations/0.3/post-set-statement-line-state.py @@ -27,6 +27,9 @@ __name__ = ("account.bank.statement.line:: set new field 'state' to " def migrate(cr, version): + """This module adds the field state to the statement line. Here we set it + correctly on existing statements. The names, and so this migration, are + intentionally kept in sync with the account_banking module.""" cr.execute("UPDATE account_bank_statement_line as sl " " SET state = 'confirmed'" " FROM account_bank_statement as s "