From 9eb8e52fdc2c0e9db5b6ffe73f4c22282cca5e7d Mon Sep 17 00:00:00 2001 From: Renaud Thiry Date: Thu, 23 Jun 2022 12:18:55 +0000 Subject: [PATCH] [IMP] mail: Remove "duplicate" from notification form view (To be commited with [#94024](https://github.com/odoo/odoo/pull/94024)) Duplicating an email sent from Odoo would raise an error because some required fields could not be set. Setting those fields on duplication does not make sense, duplication is to be disabled on e-mails. As this applies to some messages and no use-case could be found for the duplication of messages or notifications, both also had duplication disabled. Task-2857244 closes odoo/odoo#95138 X-original-commit: 6f9656fc4ceeecd304f600b7cd65d649618ad182 Signed-off-by: Thibault Delavallee (tde) --- addons/mail/views/mail_mail_views.xml | 2 +- addons/mail/views/mail_message_views.xml | 2 +- addons/mail/views/mail_notification_views.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/mail/views/mail_mail_views.xml b/addons/mail/views/mail_mail_views.xml index 16e9cc1b4c3..4de6bd099f5 100644 --- a/addons/mail/views/mail_mail_views.xml +++ b/addons/mail/views/mail_mail_views.xml @@ -5,7 +5,7 @@ mail.mail.form mail.mail -
+