diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-03-07 13:42:22 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-03-07 13:42:22 +0100 |
| commit | 617c03a19c0cc69d49602ed2223a9245bce1a888 (patch) | |
| tree | 0b82379a966fee5491ee28fde8699a0fcbf62247 /addons/analytic_user_function/security/ir.model.access.csv | |
| parent | 1e5a3aa78779c923102831a779b9ae1600249a5c (diff) | |
[FIX] broken inference of groupby groups in search view filters
Before the valpocalypse, filter contexts were "literal" (parsed
objects) when reaching the search view, and `.attrs.context.group_by`
would return the right thing (namely the group_by attribute of the
context object).
After the valpocalypse, contexts & domains on view fields (and
filters) are not evaluated on the Python side anymore and reach view
objects as strings, the access chain above thus always returns a falsy
value (undefined) as strings don't have a .group_by.
Fix FilterGroup to correctly parse filter's @context before trying to
see if it has a group_by.
lp bug: https://launchpad.net/bugs/1116432 fixed
bzr revid: xmo@openerp.com-20130307124222-1ypzfopbktxmad4z
Diffstat (limited to 'addons/analytic_user_function/security/ir.model.access.csv')
0 files changed, 0 insertions, 0 deletions
