Files
web/web_m2x_options/static/src/xml/base.xml
Holger Brunn 4573adb300 support 'open' on many2many_tags
[ADD] support 'no_open_edit' on many2one
[FIX] typos
2023-02-15 15:13:53 +07:00

14 lines
392 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-extend="FieldMany2One">
<t t-jquery="a.oe_m2o_cm_button">
jQuery(this).attr('t-if', '!(widget.options.no_open || widget.options.no_open_edit)');
</t>
</t>
<t t-extend="FieldMany2ManyTag">
<t t-jquery="span.oe_tag">
jQuery(this).attr('t-att-data-id', 'el[0]');
</t>
</t>
</templates>