[FIX][web_option_auto_color] Compatibility with MS Edge.

This commit is contained in:
Adrien Peiffer (ACSONE)
2016-04-06 15:33:33 +02:00
parent acb4e99ed2
commit 82baea8d0b

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<tr t-extend="ListView.row">
<t t-jquery="td[t-att-data-field='column.id']">
this.attr('t-att-style', "column.autocolor == '1' and view.auto_color_cell_style(render_cell(record, column), column)")
<t t-jquery="td[t-att-data-field='column.id']" t-operation="attributes">
<attribute name="t-att-style">column.autocolor == '1' and view.auto_color_cell_style(render_cell(record, column), column)</attribute>
</t>
</tr>
</templates>