summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-11-07 16:19:54 +0100
committerAntony Lesuisse <al@openerp.com>2012-11-07 16:19:54 +0100
commita963bd019a70c58adf6e5a190bcb3294493bdcb5 (patch)
treeb02905d43c3ddb92ad9bff84f05d9e1a88c46bb6 /addons/web/static/src/xml/base.xml
parentaf9304fc9860bacd9ba7b4f6df8c9b4339cfc196 (diff)
parent064003797eb9f1cbd428d3ed416515a655708fc7 (diff)
[MERGE] m2o button
bzr revid: al@openerp.com-20121107151954-aqqtn4w6hpd39kmi
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 4118d3fc363..215374cb6fb 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1027,6 +1027,13 @@
</t>
</span>
</t>
+<t t-name="Many2OneButton">
+ <span class="oe_form_field">
+ </span>
+</t>
+<t t-name="Many2OneButton.cell"
+ ><img t-attf-src="#{_s}/web/static/src/img/icons/gtk-#{widget.has_value ? 'yes' : 'no'}.png" width="16" height="16"/>
+</t>
<t t-name="FieldMany2ManyTags">
<div class="oe_form_field oe_tags" t-att-style="widget.node.attrs.style">
<t t-if="! widget.get('effective_readonly')">