for some reason, @selected blows up (probably when converting the XML dom to HTML), but t-attf-selected works
bzr revid: xmo@openerp.com-
20120131133807-wm549gl7ilg50uf7
<t t-foreach="attrs.selection" t-as="option">
<t t-set="selected" t-value="defaults[attrs.name] === option[0]"/>
<option t-if="selected"
- t-att-value="option_index" selected="selected">
+ t-attf-selected="selected"
+ t-att-value="option_index">
<t t-esc="option[1]"/>
</option>
<option t-if="!selected" t-att-value="option_index">