From 126a2e08ec091414f86fd8eaf3df5e77897a599e Mon Sep 17 00:00:00 2001 From: Swapnesh Shah Date: Wed, 25 Dec 2019 19:53:17 +0000 Subject: [PATCH] [IMP] mass_mailing: make name required on saved records Name field on mailing is a technical field coming from its underlying utm source record, coming from an _inherits. It is not required in view as it is computed at creation based on subject. Changing it is possible in debug mode. However it is possible to try to write a void value, which leads to an issue as it is technically required. With this commit we make the name field required at write. closes odoo/odoo#42368 Signed-off-by: Thibault Delavallee (tde) --- addons/mass_mailing/views/mailing_mailing_views.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/mass_mailing/views/mailing_mailing_views.xml b/addons/mass_mailing/views/mailing_mailing_views.xml index 414248e5034..5e8cfdb390e 100644 --- a/addons/mass_mailing/views/mailing_mailing_views.xml +++ b/addons/mass_mailing/views/mailing_mailing_views.xml @@ -195,7 +195,8 @@ - + +