[FIX] crm_partner_assign: colors only if there is a stage on the lead

This commit is contained in:
Denis Ledoux 2014-10-23 15:05:55 +02:00
parent 4ac4a0cfca
commit 076fedb6a7
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<field name="model">crm.lead</field>
<field name="priority" eval="32"/>
<field name="arch" type="xml">
<tree string="Leads" colors="red:stage_id[1]=='Disinterested';black:stage_id[1]=='Interested'">
<tree string="Leads" colors="red:stage_id and stage_id[1]=='Disinterested';black:stage_id and stage_id[1]=='Interested'">
<field name="date_deadline" invisible="1"/>
<field name="create_date"/>
<field name="name" string="Subject"/>