Skip to content
Snippets Groups Projects
Commit 71b0a4cb authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[FIX] crm: next action date display condition

The next action date (date_action) should be red if in the past, not if the
deadline date is in the past.
Introduced at 9f68a37a
Courtesy of @sve-odoo :santa:
parent 52cba1b5
Branches
Tags
No related merge requests found
......@@ -295,7 +295,7 @@
<field name="partner_id"/>
</div>
<div style="padding-left: 0.5em">
<t t-if="record.date_deadline.raw_value and record.date_deadline.raw_value lt (new Date())" t-set="red">oe_kanban_text_red</t>
<t t-if="record.date_action.raw_value and record.date_action.raw_value lt (new Date())" t-set="red">oe_kanban_text_red</t>
<span t-attf-class="#{red || ''}"><field name="date_action"/></span>
<t t-if="record.date_action.raw_value"> : </t>
<field name="title_action"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment