Project with completed tasks with zero remaining hours , does not print gantt chart.

Bug #518824 reported by Vinay Rana (OpenERP)
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Hi,
When I try to print gantt diagram for tasks of a scrum project, I have this message:

File "/home/apis/openerp-server-5.0.6/addons/project/report/_date_compute.py", line 65, in _compute_tasks
    date_close = tasks[task.id][-1][1]
IndexError: list index out of range

Thanks

Related branches

description: updated
Changed in openobject-addons:
status: New → Confirmed
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

This has been fixed in 2576 <email address hidden> revision.
Now It will show a warning message (''RML is not available at specified location or not enough data to print!''), if there is not any remaining hours of related project or task.
Thanks.

Changed in openobject-addons:
status: Confirmed → Fix Released
Revision history for this message
Charlie Root (charlieroot1) wrote :

Same error trying to print Workflow in 5.0.7 All in One for Windows

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Charlie,

Would you please illustrate the situation with steps?

Thank you for pointing this out.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.