diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-02-09 17:15:42 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-02-09 17:15:42 +0100 |
| commit | 77065685caecf1dc00be2526b364d0639eae5aba (patch) | |
| tree | d9e896e144948e7b398d8fd96e3f262971cfc71b /addons/web/static/src/xml/base.xml | |
| parent | 2d08b98ea4735dfaa54eac2ffd6c6b780bb02e66 (diff) | |
[FIX] don't blow up filters management if a filter uses an invalid syntax (or an unknown variable) and can't be evaluated
bzr revid: xmo@openerp.com-20120209161542-whs5ye637lijas26
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 953593d9b39..8726e60323b 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1279,7 +1279,10 @@ <option class="oe-filters-title" value="">Filters</option> <optgroup label="-- Filters --"> <t t-foreach="filters" t-as="filter"> - <option t-attf-value="get:#{filter_index}"><t t-esc="filter.name"/></option> + <option t-attf-value="get:#{filter_index}" + t-att-disabled="filter.disabled and 'disabled'"> + <t t-esc="filter.name"/> + </option> </t> </optgroup> <optgroup label="-- Actions --"> |
