diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-02-02 12:25:06 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-02-02 12:25:06 +0100 |
| commit | 9ca7ad87b2bd06c4fae5d3428e2262eacf9fdb60 (patch) | |
| tree | e2cbc5c8c7d878d655136a9fc3c57e0d256869f9 /addons/web/static/src/xml/base.xml | |
| parent | 5b77e304299cfc92376ceb35e0f5587c0694bcbc (diff) | |
| parent | 3ac46ee3d4b9775c5d18acc8ffb95188508a20af (diff) | |
[MERGE] forward port of branch 8.0 up to 3ac46ee
Diffstat (limited to 'addons/web/static/src/xml/base.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 39173add5c6..51fc676d8ce 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1945,13 +1945,11 @@ <t t-name="FieldMany2ManyCheckBoxes"> <t t-foreach="widget.get('records')" t-as="record"> <div> - <t t-if="selected[record[0]]"> - <input type="checkbox" t-att-data-record-id="JSON.stringify(record[0])" checked="true"/> - </t> - <t t-if="! selected[record[0]]"> - <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="selected[record[0]] or null"/> + <t t-esc="record[1]"/> + </label> </div> </t> </t> |
