[FIX] @colors expression: in on single string (instead of singleton), works by coincidence. Replace by equality test

bzr revid: xmo@openerp.com-20110911132514-39cy0gldyt1ixy3m
This commit is contained in:
Xavier Morel 2011-09-11 15:25:14 +02:00
parent 874e6f7c32
commit ce835b6dfe
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<field name="model">res.request</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Requests" colors="blue:state in ('waiting');gray:state in ('closed')">
<tree string="Requests" colors="blue:state == 'waiting';gray:state == 'closed'">
<field name="create_date"/>
<field name="act_from"/>
<field name="act_to"/>