summaryrefslogtreecommitdiff
path: root/addons/crm/views/crm_lead_views.xml
diff options
context:
space:
mode:
authorPierre Collinet (pic) <pic@odoo.com>2020-06-22 12:51:49 +0000
committerThibault Delavallée <tde@odoo.com>2020-08-04 15:09:20 +0000
commitaf7b23f4aefee5f4df2e401f31df54db5f71f5cb (patch)
treebc21483b992275a9b5e31bdff953dce92d94b119 /addons/crm/views/crm_lead_views.xml
parent656e322be8fe51e76308ee19c22122039cb3a9c1 (diff)
[IMP] crm: Redirect to activity view from systray
Purpose: Redirect to lead activity view when clicking on activity systray for leads. The idea is to give the user a quick overview of his "To Do List" activities. Specification: The path from the systray (opportunity/leads) should redirect to the view with the buttons instead of the one from the pipeline. On top of the existing filters/domain, it adds the time-based filter : Today, Late, Future Activities, ... Task ID-2281254 Community PR odoo#55383 closes odoo/odoo#55413 X-original-commit: 0cee7f48ce44cea6aa31fcace40206eaed5315ca Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/crm/views/crm_lead_views.xml')
-rw-r--r--addons/crm/views/crm_lead_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml
index 5932802ecf0..08259445b27 100644
--- a/addons/crm/views/crm_lead_views.xml
+++ b/addons/crm/views/crm_lead_views.xml
@@ -887,7 +887,7 @@ if record:
<field name="res_model">crm.lead</field>
<field name="view_mode">tree,kanban,graph,pivot,calendar,form,activity</field>
<field name="view_id" ref="crm_lead_view_list_activities"/>
- <field name="domain">[('type','=','opportunity'), ('activity_ids','!=',False)]</field>
+ <field name="domain">[('activity_ids','!=',False)]</field>
<field name="search_view_id" ref="crm.view_crm_case_my_activities_filter"/>
<field name="context">{'default_type': 'opportunity',
'search_default_assigned_to_me': 1}