diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-09-08 12:14:06 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-09-08 12:14:06 +0200 |
| commit | bba27daf04ff27b1f3c71e0dee7c73375efc11a4 (patch) | |
| tree | 865439c0419947105f21eb6a398d478886babc01 /addons/web/static/src | |
| parent | 5b223f59610d598ff21de86f6e36ddaf956b47fc (diff) | |
[FIX] don't display non-searchable (non-stored without a fnct_search) function fields
lp bug: https://launchpad.net/bugs/823049 fixed
bzr revid: xmo@openerp.com-20110908101406-f6r8bgt155nq65in
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index ae03c8789b6..5ac1929fce3 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1111,7 +1111,8 @@ <div t-att-id="element_id"> <select class="searchview_extended_prop_field"> <t t-foreach="attrs.fields" t-as="field"> - <option t-att="{'selected': field === attrs.selected ? 'selected' : null}" + <option t-if="typeof field.store === 'undefined' || field.store || field.fnct_search" + t-att="{'selected': field === attrs.selected ? 'selected' : null}" t-att-value="field.name"> <t t-esc="field.string"/> </option> |
