You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The id column generated by BI View Editor using CAST(row_number() OVER () as integer) AS id is broken and should be replaced. It generates non stable IDs so when you group or filter records, Odoo will display results not matching the filter or the group in its results.
This issue existed on bi_sql_editor and was fixed by using a subselect to get the rows and then inject the ids.
See method _prepare_request_for_execution on model bi.sql.view for a correct implementation
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
BI View Editor
The id column generated by BI View Editor using
CAST(row_number() OVER () as integer) AS id
is broken and should be replaced. It generates non stable IDs so when you group or filter records, Odoo will display results not matching the filter or the group in its results.This issue existed on bi_sql_editor and was fixed by using a subselect to get the rows and then inject the ids.
See method _prepare_request_for_execution on model bi.sql.view for a correct implementation
reporting-engine/bi_sql_editor/models/bi_sql_view.py
Lines 618 to 638 in e8df660
Affected versions: all versions
The text was updated successfully, but these errors were encountered: