[FIX] Dashboards: board widgets lose their filter
This was a leftover during the evalpocalypse lp bug: https://launchpad.net/bugs/1130646 fixed bzr revid: fme@openerp.com-20130221125323-j01mfl1tfhr5np26
This commit is contained in:
parent
c63d1f9100
commit
44b5f56a00
|
@ -177,8 +177,10 @@ instance.web.form.DashBoard = instance.web.form.FormWidget.extend({
|
|||
view_mode = action_attrs.view_mode;
|
||||
|
||||
// evaluate action_attrs context and domain
|
||||
action_attrs.context_string = action_attrs.context;
|
||||
action_attrs.context = instance.web.pyeval.eval(
|
||||
'context', action_attrs.context || {});
|
||||
action_attrs.domain_string = action_attrs.domain;
|
||||
action_attrs.domain = instance.web.pyeval.eval(
|
||||
'domain', action_attrs.domain || [], action_attrs.context);
|
||||
if (action_attrs.context['dashboard_merge_domains_contexts'] === false) {
|
||||
|
|
Loading…
Reference in New Issue