summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-08-18 22:16:32 +0200
committerAntony Lesuisse <al@openerp.com>2012-08-18 22:16:32 +0200
commitccfa1eb25299bb954e16a13b6e065f0b17d1fd34 (patch)
treeda595a59ef2b84d3b7d6cebe378dfdfbdd2678da /addons/web/static/src/xml/base.xml
parent87bba93d4b7a2951a54be305d552c5b5869b3d89 (diff)
[IMP] abstractfield options replace getter by attribute
bzr revid: al@openerp.com-20120818201632-5aoioz8mhu62im3p
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 8e6f7ffc3cb..f2e022c74e0 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1017,12 +1017,12 @@
<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">
<t t-if="widget.get('effective_readonly')">
- <a t-if="! widget.get_definition_options().no_open" href="#" class="oe_form_uri"/>
- <span t-if="widget.get_definition_options().no_open" href="#" class="oe_form_uri"/>
+ <a t-if="! widget.options.no_open" href="#" class="oe_form_uri"/>
+ <span t-if="widget.options.no_open" href="#" class="oe_form_uri"/>
<span class="oe_form_m2o_follow"/>
</t>
<t t-if="!widget.get('effective_readonly')">
- <a t-if="! widget.get_definition_options().no_open" href="#" tabindex="-1"
+ <a t-if="! widget.options.no_open" href="#" tabindex="-1"
class="oe_m2o_cm_button oe_e">/</a>
<div>
<input type="text"