[FIX] crm: fix tour since kanban state color has been updated
The commit c544aa298 change the color for kanban state, but tour has been
not updated.
This commit is contained in:
@@ -35,7 +35,7 @@ tour.register('crm_tour', {
|
||||
position: "right",
|
||||
run: "drag_and_drop .o_opportunity_kanban .o_kanban_group:eq(2) ",
|
||||
}, {
|
||||
trigger: ".o_kanban_record:not(.o_updating) .oe_kanban_status_red",
|
||||
trigger: ".o_kanban_record:not(.o_updating) .oe_kanban_status_grey",
|
||||
extra_trigger: ".o_opportunity_kanban",
|
||||
content: _t("This opportunity has <b>no next activity scheduled</b>. <i>Click to set one.</i>"),
|
||||
position: "bottom"
|
||||
|
||||
@@ -284,14 +284,14 @@
|
||||
<span class='oe_kanban_mail_new' title='Unread Messages'><i class='fa fa-comments'/><t t-raw="record.message_needaction_counter.raw_value"/></span>
|
||||
</t>
|
||||
<div>
|
||||
<a name="%(crm.crm_activity_log_action)d" type="action" t-if="record.kanban_state.raw_value!='red'">
|
||||
<a name="%(crm.crm_activity_log_action)d" type="action" t-if="record.kanban_state.raw_value!='grey'">
|
||||
<span
|
||||
t-att-title="record.date_action.value + ': '+ record.title_action.value"
|
||||
t-attf-class="oe_kanban_status oe_kanban_status_#{record.kanban_state.raw_value}"/>
|
||||
</a>
|
||||
<a name="%(crm.crm_activity_schedule_action)d" type="action" t-if="record.kanban_state.raw_value=='red'">
|
||||
<a name="%(crm.crm_activity_schedule_action)d" type="action" t-if="record.kanban_state.raw_value=='grey'">
|
||||
<span
|
||||
class="oe_kanban_status oe_kanban_status_red"/>
|
||||
class="oe_kanban_status oe_kanban_status_grey"/>
|
||||
</a>
|
||||
<img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value)" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar pull-right"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user