diff --git a/addons/event/report/report_event_registration.py b/addons/event/report/report_event_registration.py index 481b86f032c..595d3947687 100644 --- a/addons/event/report/report_event_registration.py +++ b/addons/event/report/report_event_registration.py @@ -58,7 +58,7 @@ class report_event_registration(osv.osv): # TOFIX this request won't select events that have no registration cr.execute(""" CREATE VIEW report_event_registration AS ( SELECT - e.id::char || '/' || coalesce(r.id::char,'') AS id, + e.id::varchar || '/' || coalesce(r.id::varchar,'') AS id, e.id AS event_id, e.user_id AS user_id, r.user_id AS user_id_registration,