gant diagram does not display
Bug #271786 reported by
Didrik Pinte
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi
On a fresh 4.2 installation, I have the following problem when asking the gant diagram on a project, I get the following error on the server side :
psycopg.
LINE 1: ..our_from, hour_to from hr_timesheet here dayofweek=3 and tgr
HINT : No operator matches the given name and argument type(s). You might need to add explicit type casts
I think it is related to the fact I use a PostgreSQL 8.3. An explicit cast should be mandatory.
I will try to propose a simple patch asap.
Didrik
Related branches
Changed in openerp: | |
status: | New → Fix Released |
To post a comment you must log in.
The correction is simple.
Correcting line 54 of bin/addons/hr/hr.py changing "dayofweek=%d" by "dayofweek=CAST(%d AS VARCHAR)" .
Didrik