[FIX] filter name fallback if there is no string on the filter
bzr revid: xmo@openerp.com-20120430150613-ifvar5ncjtakzpki
This commit is contained in:
parent
8be95a5549
commit
7064a5b85e
|
@ -900,7 +900,10 @@ instance.web.search.FilterGroup = instance.web.search.Input.extend(/** @lends in
|
|||
this.view.query.toggle({
|
||||
category: _t("Filter"),
|
||||
field: this,
|
||||
values: [{label: filter.attrs.string, value: filter}]
|
||||
values: [{
|
||||
label: filter.attrs.string || filter.attrs.name,
|
||||
value: filter
|
||||
}]
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue