diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-10-22 14:19:52 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-10-22 14:19:52 +0200 |
| commit | d0145bd0ec5b27c5fb76e1a0814e588ed8758e2e (patch) | |
| tree | db12469610d90901961177ebe7658a2ccb03a663 /addons/web/static/src/xml/base.xml | |
| parent | ebeeae0ed4c57e36db143c11de11174ca1330892 (diff) | |
Now selection fields on m2o query the records directly
bzr revid: nicolas.vanhoren@openerp.com-20131022121952-piye1e3k80w217r0
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 46241435fcf..f7cde7ce54d 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1099,20 +1099,22 @@ </t> <t t-name="FieldSelection"> <span class="oe_form_field oe_form_field_selection" t-att-style="widget.node.attrs.style"> - <select t-if="!widget.get('effective_readonly')" - t-att-name="widget.name" - t-att-tabindex="widget.node.attrs.tabindex" - t-att-autofocus="widget.node.attrs.autofocus" - t-att-id="widget.id_for_label"> - <t t-foreach="widget.values" t-as="option"> - <option> - <t t-esc="widget.node.attrs.placeholder" t-if="option[0] === false and widget.node.attrs.placeholder"/> - <t t-esc="option[1]" t-if="option[0] !== false"/> - </option> - </t> - </select> </span> </t> +<t t-name="FieldSelectionSelect"> + <select t-if="!widget.get('effective_readonly')" + t-att-name="widget.name" + t-att-tabindex="widget.node.attrs.tabindex" + t-att-autofocus="widget.node.attrs.autofocus" + t-att-id="widget.id_for_label"> + <t t-foreach="widget.get('values')" t-as="option"> + <option> + <t t-esc="widget.node.attrs.placeholder" t-if="option[0] === false and widget.node.attrs.placeholder"/> + <t t-esc="option[1]" t-if="option[0] !== false"/> + </option> + </t> + </select> +</t> <t t-name="FieldRadio"> <span t-attf-class="oe_form_field oe_form_field_radio #{widget.options.horizontal ? 'oe_horizontal' : 'oe_vertical'}" t-att-style="widget.node.attrs.style"> <span t-if="!widget.get('effective_readonly')"> |
