Merge lp:~openerp-dev/openobject-addons/6.1-opw-574767-skh into lp:openobject-addons/6.1

Proposed by Somesh Khare
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-574767-skh
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
project_long_term/project_long_term_view.xml (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-574767-skh
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+105614@code.launchpad.net

Description of the change

Hello Sir,

[Fix]: missing domain on project task for phase.

Steps to reproduce:
- Create a projet
- Create a phase for this projet
- Create another project
- Create a other phase for this last project.

- Create a task for the second project (fill the field "Projet on the task")
- Select a phase for this task
--> Problem: we see all the phases instead of the phase related to the project on the task.

This branch fixes this issue.

Kindly review the branch and please share your views on it.

Thanks,
Somesh Khare

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

Hello,

This bug was qualified as Already Fixed on Trunk (means that it was already fixed and merged in Trunk). If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

Unmerged revisions

6798. By Somesh Khare

[FIX] project_long_term :missing domain on project task for phase (Case: Ref 574767)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'project_long_term/project_long_term_view.xml'
2--- project_long_term/project_long_term_view.xml 2012-01-31 13:36:57 +0000
3+++ project_long_term/project_long_term_view.xml 2012-05-14 06:50:23 +0000
4@@ -278,7 +278,7 @@
5 <field name="inherit_id" ref="project.view_task_form2"/>
6 <field name="arch" type="xml">
7 <xpath expr="//field[@name='effective_hours']" position="after">
8- <field name="phase_id"/>
9+ <field name="phase_id" domain ="[('project_id','=',project_id)]"/>
10 </xpath>
11 </field>
12 </record>