[FIX] crm: next action date display condition

Complement of commit 71b0a4c. The next action date (date_action) should
be red if in the past, not if the deadline date is in the past.

opw-653391
This commit is contained in:
Nicolas Martinelli
2015-11-02 17:03:32 +01:00
parent 7158eaf80d
commit ecc9710cb3
+1 -1
View File
@@ -547,7 +547,7 @@
<field name="name">Opportunities Tree</field>
<field name="model">crm.lead</field>
<field name="arch" type="xml">
<tree string="Opportunities" fonts="bold:message_unread==True" colors="gray:probability == 100;red:date_deadline and (date_deadline &lt; current_date)">
<tree string="Opportunities" fonts="bold:message_unread==True" colors="gray:probability == 100;red:date_action and (date_action &lt; current_date)">
<field name="date_deadline" invisible="1"/>
<field name="create_date"/>
<field name="name" string="Opportunity"/>