credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #04890
[Merge] lp:~therp-nl/openupgrade-addons/6.1-account_fix_contexts into lp:openupgrade-addons
Holger Brunn (Therp) has proposed merging lp:~therp-nl/openupgrade-addons/6.1-account_fix_contexts into lp:openupgrade-addons.
Requested reviews:
OpenUpgrade Committers (openupgrade-committers)
For more details, see:
https://code.launchpad.net/~therp-nl/openupgrade-addons/6.1-account_fix_contexts/+merge/111552
--
https://code.launchpad.net/~therp-nl/openupgrade-addons/6.1-account_fix_contexts/+merge/111552
Your team OpenUpgrade Committers is requested to review the proposed merge of lp:~therp-nl/openupgrade-addons/6.1-account_fix_contexts into lp:openupgrade-addons.
=== added file 'account/migrations/6.1.1.1/data/null_values.xml'
--- account/migrations/6.1.1.1/data/null_values.xml 1970-01-01 00:00:00 +0000
+++ account/migrations/6.1.1.1/data/null_values.xml 2012-06-22 07:17:24 +0000
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+ <data noupdate="1">
+ <record id="action_account_analytic_journal_open_form" model="ir.actions.act_window">
+ <field name="name">Analytic Journal Items</field>
+ <field name="res_model">account.analytic.line</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">tree,form</field>
+ <field name="context">{}</field>
+ <field name="domain"></field>
+ </record>
+ <!-- <act_window context="{'search_default_account_id': [active_id], 'search_default_user_id': False}" id="act_acc_analytic_acc_5_report_hr_timesheet_invoice_journal" name="All Analytic Entries" res_model="account.analytic.line" src_model="account.analytic.account" view_mode="tree,form" view_type="form" context="{}" /> /-->
+ <record id="act_acc_analytic_acc_5_report_hr_timesheet_invoice_journal" model="ir.actions.act_window">
+ <field name="name">All Analytic Entries</field>
+ <field name="context">{'search_default_user_id': False}</field>
+ <field name="res_model">account.analytic.line</field>
+ <field name="src_model">account.analytic.account</field>
+ <field name="view_mode">tree,form</field>
+ <field name="view_type">form</field>
+ </record>
+ </data>
+</openerp>
=== modified file 'account/migrations/6.1.1.1/post-migration.py'
--- account/migrations/6.1.1.1/post-migration.py 2012-06-19 09:34:23 +0000
+++ account/migrations/6.1.1.1/post-migration.py 2012-06-22 07:17:24 +0000
@@ -45,6 +45,7 @@
openupgrade.load_data(cr, 'account', 'migrations/6.1.1.1/data/data_account_type.xml')
openupgrade.load_data(cr, 'account', 'migrations/6.1.1.1/data/account_financial_report_data.xml')
openupgrade.load_data(cr, 'account', 'migrations/6.1.1.1/data/invoice_action_data.xml')
+ openupgrade.load_data(cr, 'account', 'migrations/6.1.1.1/data/null_values.xml')
write_account_report_type(cr)
except Exception, e:
Follow ups