← Back to team overview

credativ team mailing list archive

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

 

Stefan Rijnhart (Therp) has proposed merging lp:~therp-nl/openupgrade-addons/7.0-set_new_chart_installation_todo_done into lp:openupgrade-addons.

Requested reviews:
  OpenUpgrade Committers (openupgrade-committers)

For more details, see:
https://code.launchpad.net/~therp-nl/openupgrade-addons/7.0-set_new_chart_installation_todo_done/+merge/203524

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.

-- 
https://code.launchpad.net/~therp-nl/openupgrade-addons/7.0-set_new_chart_installation_todo_done/+merge/203524
Your team OpenUpgrade Committers is requested to review the proposed merge of lp:~therp-nl/openupgrade-addons/7.0-set_new_chart_installation_todo_done into lp:openupgrade-addons.
=== modified file 'account/migrations/7.0.1.1/data.xml'
--- account/migrations/7.0.1.1/data.xml	2013-07-24 12:41:33 +0000
+++ account/migrations/7.0.1.1/data.xml	2014-01-28 12:10:51 +0000
@@ -80,6 +80,12 @@
             </record>
     <record model="account.financial.report" id="account_financial_report_expense0"><field name="sign" eval="-1"/>
             </record>
+
+    <!-- Prevent popup action to install a new chart of account -->
+    <record id="action_wizard_multi_chart_todo" model="ir.actions.todo">
+        <field name="state">done</field>
+    </record>
+
   </data>
 </openerp>
 


Follow ups