Merge lp:~openerp-dev/openobject-addons/6.1-opw-578771-mra into lp:openobject-addons/6.1

Proposed by Mustufa Rangwala (Open ERP)
Status: Rejected
Rejected by: Vinay Rana (OpenERP)
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-578771-mra
Merge into: lp:openobject-addons/6.1
Diff against target: 16 lines (+2/-2)
1 file modified
account_analytic_plans/account_analytic_plans_view.xml (+2/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-578771-mra
Reviewer Review Type Date Requested Status
Vinay Rana (OpenERP) (community) Approve
Review via email: mp+122623@code.launchpad.net

Description of the change

Hello,

Resolved issue on creating journal entries with account_analytic_plan module for analytic distribution field.

Regards,
Mustufa

To post a comment you must log in.
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

The fixes will solve the issue for journal value from context for Accounting/Journal Entries/Journal Entries menu, As the issue is reproducible with web client only.

review: Approve
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

I have found another branch which is fixes this issue and propose previously.
the branch is https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-574812-skh/+merge/106186.

so I am rejecting this branch for removing duplication of fixes.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_analytic_plans/account_analytic_plans_view.xml'
2--- account_analytic_plans/account_analytic_plans_view.xml 2011-05-31 21:55:34 +0000
3+++ account_analytic_plans/account_analytic_plans_view.xml 2012-09-04 07:15:23 +0000
4@@ -23,10 +23,10 @@
5 <field name="inherit_id" ref="account.view_move_form"/>
6 <field name="arch" type="xml">
7 <xpath expr="/form/notebook/page/field[@name='line_id']/tree/field[@name='analytic_account_id']" position="replace">
8- <field name="analytics_id" context="{'journal_id':journal_id}" groups="analytic.group_analytic_accounting"/>
9+ <field name="analytics_id" context="{'journal_id': parent.journal_id}" groups="analytic.group_analytic_accounting"/>
10 </xpath>
11 <xpath expr="/form/notebook/page/field[@name='line_id']/form/notebook/page/group/field[@name='analytic_account_id']" position="replace">
12- <field name="analytics_id" context="{'journal_id':journal_id}" groups="analytic.group_analytic_accounting"/>
13+ <field name="analytics_id" context="{'journal_id': parent.journal_id}" groups="analytic.group_analytic_accounting"/>
14 </xpath>
15 </field>
16 </record>