[FIX] event: event report registration, replace char by varchar in the view, so it can handle more events (basically, it wasnt working when there was more than 10 events)

bzr revid: dle@openerp.com-20140310113557-rbohomzy8xrvwk05
This commit is contained in:
Denis Ledoux 2014-03-10 12:35:57 +01:00
parent f166daf065
commit 4387a63c9b
1 changed files with 1 additions and 1 deletions

View File

@ -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,