Merge lp:~therp-nl/openupgrade-addons/6.1-account_fix_contexts into lp:openupgrade-addons/6.1

Proposed by Holger Brunn (Therp)
Status: Merged
Merged at revision: 6605
Proposed branch: lp:~therp-nl/openupgrade-addons/6.1-account_fix_contexts
Merge into: lp:openupgrade-addons/6.1
Diff against target: 38 lines (+23/-0)
2 files modified
account/migrations/6.1.1.1/data/null_values.xml (+22/-0)
account/migrations/6.1.1.1/post-migration.py (+1/-0)
To merge this branch: bzr merge lp:~therp-nl/openupgrade-addons/6.1-account_fix_contexts
Reviewer Review Type Date Requested Status
OpenUpgrade Committers Pending
Review via email: mp+111552@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'account/migrations/6.1.1.1/data/null_values.xml'
2--- account/migrations/6.1.1.1/data/null_values.xml 1970-01-01 00:00:00 +0000
3+++ account/migrations/6.1.1.1/data/null_values.xml 2012-06-22 07:19:22 +0000
4@@ -0,0 +1,22 @@
5+<?xml version="1.0" encoding="utf-8"?>
6+<openerp>
7+ <data noupdate="1">
8+ <record id="action_account_analytic_journal_open_form" model="ir.actions.act_window">
9+ <field name="name">Analytic Journal Items</field>
10+ <field name="res_model">account.analytic.line</field>
11+ <field name="view_type">form</field>
12+ <field name="view_mode">tree,form</field>
13+ <field name="context">{}</field>
14+ <field name="domain"></field>
15+ </record>
16+ <!-- <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="{}" /> /-->
17+ <record id="act_acc_analytic_acc_5_report_hr_timesheet_invoice_journal" model="ir.actions.act_window">
18+ <field name="name">All Analytic Entries</field>
19+ <field name="context">{'search_default_user_id': False}</field>
20+ <field name="res_model">account.analytic.line</field>
21+ <field name="src_model">account.analytic.account</field>
22+ <field name="view_mode">tree,form</field>
23+ <field name="view_type">form</field>
24+ </record>
25+ </data>
26+</openerp>
27
28=== modified file 'account/migrations/6.1.1.1/post-migration.py'
29--- account/migrations/6.1.1.1/post-migration.py 2012-06-19 09:34:23 +0000
30+++ account/migrations/6.1.1.1/post-migration.py 2012-06-22 07:19:22 +0000
31@@ -45,6 +45,7 @@
32 openupgrade.load_data(cr, 'account', 'migrations/6.1.1.1/data/data_account_type.xml')
33 openupgrade.load_data(cr, 'account', 'migrations/6.1.1.1/data/account_financial_report_data.xml')
34 openupgrade.load_data(cr, 'account', 'migrations/6.1.1.1/data/invoice_action_data.xml')
35+ openupgrade.load_data(cr, 'account', 'migrations/6.1.1.1/data/null_values.xml')
36 write_account_report_type(cr)
37
38 except Exception, e:

Subscribers

People subscribed via source and target branches