Merge lp:~therp-nl/openupgrade-addons/7.0-set_new_chart_installation_todo_done into lp:openupgrade-addons

Proposed by Stefan Rijnhart (Opener)
Status: Merged
Merged at revision: 8154
Proposed branch: lp:~therp-nl/openupgrade-addons/7.0-set_new_chart_installation_todo_done
Merge into: lp:openupgrade-addons
Diff against target: 15 lines (+6/-0)
1 file modified
account/migrations/7.0.1.1/data.xml (+6/-0)
To merge this branch: bzr merge lp:~therp-nl/openupgrade-addons/7.0-set_new_chart_installation_todo_done
Reviewer Review Type Date Requested Status
Holger Brunn (Therp) code review Approve
Review via email: mp+203524@code.launchpad.net

Description of the change

In OpenERP 7.0, a new ir.actions.todo record was added for the installation of a chart of accounts. This change sets this todo to 'done', as it is more likely than not that a chart was already previously installed on a migrated database with the account module installed.

To post a comment you must log in.
Revision history for this message
Holger Brunn (Therp) (hbrunn) :
review: Approve (code review)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/migrations/7.0.1.1/data.xml'
2--- account/migrations/7.0.1.1/data.xml 2013-07-24 12:41:33 +0000
3+++ account/migrations/7.0.1.1/data.xml 2014-01-28 12:10:51 +0000
4@@ -80,6 +80,12 @@
5 </record>
6 <record model="account.financial.report" id="account_financial_report_expense0"><field name="sign" eval="-1"/>
7 </record>
8+
9+ <!-- Prevent popup action to install a new chart of account -->
10+ <record id="action_wizard_multi_chart_todo" model="ir.actions.todo">
11+ <field name="state">done</field>
12+ </record>
13+
14 </data>
15 </openerp>
16

Subscribers

People subscribed via source and target branches