diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-02-02 14:55:52 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-02-02 14:55:52 +0100 |
| commit | 04416a5a6f1a3b4cf1a8bed8e9aee9c30c91a03e (patch) | |
| tree | 1fd974be09d12c53ed02a221de553f6f83efc253 /addons/web/static/src/xml | |
| parent | 7e3d6e92b6a7af27d8c2ebb0dbbecba28c9f1877 (diff) | |
| parent | 469e04e97c2aa60d9d41bd430e0aeba77ee6f9dd (diff) | |
[MERGE] forward port of branch saas-9 up to 469e04e
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index a8c24000c6b..f4e7e45740f 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1437,13 +1437,11 @@ <t t-name="FieldMany2ManyCheckBoxes"> <t t-foreach="widget.get('records')" t-as="record"> <div> - <t t-if="widget.get('value').indexOf(record[0]) !== -1"> - <input type="checkbox" t-att-data-record-id="JSON.stringify(record[0])" checked="true"/> - </t> - <t t-if="widget.get('value').indexOf(record[0]) === -1"> - <input type="checkbox" t-att-data-record-id="JSON.stringify(record[0])"/> - </t> - <t t-esc="record[1]"/> + <label style="font-weight: normal"> + <input type="checkbox" t-att-data-record-id="JSON.stringify(record[0])" + t-att-checked="(widget.get('value').indexOf(record[0]) !== -1) or null"/> + <t t-esc="record[1]"/> + </label> </div> </t> </t> |
