[7.0/saas-2/saas-3/trunk]Event: Server error on Events Analysis when having more then 10 events
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Scenario:
1/ Create 11 events if necessary, we need to have 10 events or more. (no registrations needed)
2/ Go to Reporting -> Event Analysis
3/ The error "OpenERP Server Error" is shown twice and no data is displayed in the graph.
We have the same problem in Dashboard/Events
This is the complete error:
Traceback (most recent call last):
File "/home/
response[
File "/home/
return checked_
File "/home/
return f(dbname, *args, **kwargs)
File "/home/
return self.endpoint(*a, **kw)
File "/home/
return self.method(*args, **kw)
File "/home/
response = f(*args, **kw)
File "/home/
return self._call_
File "/home/
return getattr(
File "/home/
d['__domain'] = [(groupby, '=', alldata[
KeyError: 'event_type'
The origin of the error seem to come from the file "report_
SELECT
FROM
GROUP BY
The ids should be stored in a varchar instead of a char:
In the second line:
e.id::char || '/' || coalesce(
should be replaced by:
e.id::varchar || '/' || coalesce(
Tested with Chrome and Firefox.
summary: |
- [saas-3/trunk]Event: Server error on Events Analysis when having more - then 10 events + [7.0/saas-2/saas-3/trunk]Event: Server error on Events Analysis when + having more then 10 events |
Linked to opw-604774