c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #20083
[Bug 741803] Re: [project] Errors in the Gantt views
Hello,
I confirm this issue. I'm having the same on a custom development.
It seems that it's due to the fact that the calendar task view is declared this way:
<calendar color="user_id" date_delay="planned_hours" date_start="date_start" string="Tasks">
<field name="name"/>
<field name="project_id"/>
</calendar>
So as you can see, the color should change according to the
task.user_id. It seems that the web-client has some conflict between the
field task.user_id and the current user_id of the session (I guess).
Indeed, try to edit the view and set color="name" and re-open the gantt
or calendar view, suddenly it works in the web-client too...
Please fix that this is annoying. I'm currently working around that in
production by adding an extra user_name related field I put the color
on, but it's annoying to have to do that kind of ugly hack in business
code to work-around the web-client bugs.
** Project changed: openobject-addons => openobject-client-web
** Summary changed:
- [project] Errors in the Gantt views
+ [project] "user_id" color conflict breaking Gantt and calendar views
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/741803
Title:
[project] "user_id" color conflict breaking Gantt and calendar views
Status in OpenERP Web Client:
New
Bug description:
When going to the Gantt view on a project, the Gantt chart displays no
tasks (even though there are tasks linked to the project). There is a
button to the right that allows an Account Manager to be added, but
the pop-up windows does not allow anything to be selected. Clicking
on a user in the list and clicking 'Select' does nothing.
When using Project with the Long-Term Planning module, this has
similar problems in its 'Gantt' views. They display nothing and the
'Add' button on the right shows a pop-up window that does not react
when something is selected.
Also, when creating a Project with multiple phases and with multiple
tasks in the phases, nothing but the first phase is displayed in the
Project's Gantt view.
Tested on the 6.0.1 stable release.
References