From 1f73a652be7405ddd15990948ee9b7ddcf95c2e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Warnon?= Date: Wed, 25 Nov 2020 07:23:53 +0000 Subject: [PATCH] [IMP] crm[_sms]: align crm list view with "My Activities" view Some of the feature of the "My Activities" list view of the crm app were not available on the regular crm tree view. This commit aligns the 2 views by sharing these features, notably: - You can "snooze" your next activity if there is one - You can contact the lead by email with a direct button on the row/list header - You can contact the lead by sms with a direct button on the row/list header The "team_id" column is now optional="hide" since not required most of the time when you go to check your own leads (and can be activated in a few clicks if needed). Finally, the "Email" action at the end of the tree row is now in "single" mode to allow adding contacts on the fly. This implied re-introducing an action that was recently removed in 8c65d7c5f75497be1616655a1cb0922ad83d23a7 Further demonstrating that R&D is just an eternal loop. UPG PR odoo/upgrade#2064 Task-2390500 closes odoo/odoo#62289 Signed-off-by: Thibault Delavallee (tde) --- addons/crm/views/crm_lead_views.xml | 30 ++++++++++++++++--------- addons/crm_sms/__manifest__.py | 2 +- addons/crm_sms/views/crm_lead_views.xml | 8 +++---- 3 files changed, 25 insertions(+), 15 deletions(-) diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml index 630fef7950c..a729075970b 100644 --- a/addons/crm/views/crm_lead_views.xml +++ b/addons/crm/views/crm_lead_views.xml @@ -619,6 +619,19 @@ + + Send email + mail.compose.message + form + new + + + form + + Send email mail.compose.message @@ -642,6 +655,9 @@ 1 +
+
@@ -654,7 +670,7 @@ - + @@ -673,6 +689,9 @@ +