Gantt report in project module

Bug #289035 reported by Dainius Malachovskis (Sandas)
2
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Bug in gantt report:

ERROR: operator does not exist: character varying = integer
LINE 1: ...our_from,hour_to from hr_timesheet where dayofweek=5 and tgr...
                                                             ^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.

select hour_from,hour_to from hr_timesheet where dayofweek=5 and tgroup_id=1 order by hour_from

I have solved it by changing SQL clause in hr.py, see attached file.

Revision history for this message
Dainius Malachovskis (Sandas) (dainius-malachovskis) wrote :
Revision history for this message
Christophe Simonis (OpenERP) (kangol) wrote :

(sorry, but the proposed patch was not correct)

Changed in openobject-addons:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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