diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-09-25 16:45:56 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-09-25 16:45:56 +0200 |
| commit | 38e3daed00b9bfc7386a0c08debe7bc2f164f165 (patch) | |
| tree | 90ed13957f686ec058e93e7bb315d1543c353615 /addons/web/static/src/xml/base.xml | |
| parent | bc0d066505a054389525cdf7601b35751ea3efbb (diff) | |
wip
bzr revid: nicolas.vanhoren@openerp.com-20130925144556-97abdprnibq631sc
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index ee87237d045..48c51c4837c 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1934,4 +1934,17 @@ </t> </t> </t> +<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]"/> + </div> + </t> +</t> </templates> |
