From d269d8911b0807b2c94e12c830b62e562ee16cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 17 Nov 2020 14:10:19 +0000 Subject: [PATCH] [IMP] mail: remove default blank template used in contextual actions Mail holds a blank template that adds no real value. Its purpose was to give a base for parner managers to perform a mass mailing on leads. Using a template and its action menu entry it was possible to launch a mail composer in mass mail mode on leads. However template itself is not necessary. Same goal can be achieved with a standard action. As template was blank and creating noise we can remove it and simplify available templates. LINKS Task ID-2375767 COM PR odoo/odoo#61814 ENT PR odoo/enterprise#14775 UPG PR odoo/upgrade#1936 --- addons/mail/__manifest__.py | 2 +- addons/mail/views/res_partner_views.xml | 18 ++---------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/addons/mail/__manifest__.py b/addons/mail/__manifest__.py index 869db68cbd2..90f11c63257 100644 --- a/addons/mail/__manifest__.py +++ b/addons/mail/__manifest__.py @@ -2,7 +2,7 @@ { 'name': 'Discuss', - 'version': '1.0', + 'version': '1.1', 'category': 'Productivity/Discuss', 'sequence': 145, 'summary': 'Chat, mail gateway and private channels', diff --git a/addons/mail/views/res_partner_views.xml b/addons/mail/views/res_partner_views.xml index f414646572d..da5cc279ede 100644 --- a/addons/mail/views/res_partner_views.xml +++ b/addons/mail/views/res_partner_views.xml @@ -90,16 +90,6 @@ - - - Partner Mass Mail - - ${object.id} - - ${object.lang} - - kanban,tree,form,activity @@ -120,16 +110,12 @@ list - - - -