Merge lp:~openerp-dev/openobject-addons/trunk-bug-908764-kjo into lp:openobject-addons

Proposed by Kuldeep Joshi(OpenERP)
Status: Rejected
Rejected by: Raphael Collet (OpenERP)
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-908764-kjo
Merge into: lp:openobject-addons
Diff against target: 21 lines (+2/-2)
1 file modified
project/project_view.xml (+2/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-908764-kjo
Reviewer Review Type Date Requested Status
Raphael Collet (OpenERP) (community) Disapprove
Bhumika Shrimali Pending
Review via email: mp+87731@code.launchpad.net

Description of the change

Change in the project gantt view

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

Does not work as expected.
Suppose you have a project P with two tasks A and B, both estimated to 10 hours of work.
Start both tasks, and create a task work line of 5 hours in task A.
The progress values are: A 50%, B 0%, P 25% (as shown in page views).
The gantt chart of tasks displays: A 50%, B 0%, P 50%.
The values of progress on the project and user levels are wrong.

Please fix this issue. Quite possibly the error is in the web client.

Thanks,
Raphael

review: Needs Fixing
Revision history for this message
Kuldeep Joshi(OpenERP) (kjo-openerp) wrote :

Hello Sir,

I check the issue as describe by you and it work fine in gtk the problem come from the web client

Revision history for this message
Raphael Collet (OpenERP) (rco-openerp) wrote :

"... it work fine in gtk..."
Yes, of course, there is no Gantt view in GTk ;-)

Revision history for this message
Raphael Collet (OpenERP) (rco-openerp) wrote :

Following some internal discussion, it has been decided that version 6.1 will not support progress in Gantt views. The main reason is that we don't know yet how to handle the issue I mentioned above. Hence I reject this merge proposal.

Thanks anyway for your good work,
Raphael

review: Disapprove

Unmerged revisions

6284. By Kuldeep Joshi(OpenERP)

[FIX] project : change in gantt view

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'project/project_view.xml'
2--- project/project_view.xml 2012-01-02 13:11:37 +0000
3+++ project/project_view.xml 2012-01-06 11:50:28 +0000
4@@ -160,7 +160,7 @@
5 <field name="model">project.project</field>
6 <field name="type">gantt</field>
7 <field name="arch" type="xml">
8- <gantt color="user_id" date_delay="planned_hours" date_start="date_start" string="Projects">
9+ <gantt color="user_id" date_delay="planned_hours" date_start="date_start" process_completed="progress_rate" string="Projects">
10 <level object="project.project" link="id" domain="[]">
11 <field name="complete_name"/>
12 </level>
13@@ -463,7 +463,7 @@
14 <field name="type">gantt</field>
15 <field eval="2" name="priority"/>
16 <field name="arch" type="xml">
17- <gantt color="user_id" date_start="date_start" date_stop="date_end" string="Tasks" default_group_by="project_id,user_id">
18+ <gantt color="user_id" date_start="date_start" date_stop="date_end" process_completed="progress" string="Tasks" default_group_by="project_id,user_id">
19 </gantt>
20 </field>
21 </record>

Subscribers

People subscribed via source and target branches

to all changes: