diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-07-18 12:17:29 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-07-18 12:17:29 +0200 |
| commit | aad9ce6416a96c8368def382c4ec96aec77a53aa (patch) | |
| tree | 42aade1286c4512031c39fdc0c2013ab9fa6d7ba /addons/web/static/src/xml/base.xml | |
| parent | 98a26898c8873cb0bf1e7be979be0f6f5b2d5906 (diff) | |
[IMP] added possibility to only highlight the first line in read only m2o
bzr revid: nicolas.vanhoren@openerp.com-20120718101729-k1rxexdzozy5cx5i
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 70b0cd85cc5..3389e016486 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -943,7 +943,10 @@ </t> <t t-name="FieldMany2One"> <span class="oe_form_field oe_form_field_many2one oe_form_field_with_button" t-att-style="widget.node.attrs.style"> - <a t-if="widget.get('effective_readonly')" href="#" class="oe_form_uri"/> + <t t-if="widget.get('effective_readonly')"> + <a href="#" class="oe_form_uri"/> + <span class="oe_form_m2o_follow"/> + </t> <t t-if="!widget.get('effective_readonly')"> <button class="oe_button oe_m2o_cm_button" title="Open Resource"> <img t-att-src='_s + "/web/static/src/img/icons/terp-folder-yellow.png"'/> |
