From a362054bbfd2a2aacfb7a3e55c7f95242be74ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 26 Jan 2025 11:52:37 +0100 Subject: [PATCH] Remove "User" suffix from fallback recipients of email notification --- modules/notification_email/notification.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/notification_email/notification.py b/modules/notification_email/notification.py index fcdffae209..a2246f8983 100644 --- a/modules/notification_email/notification.py +++ b/modules/notification_email/notification.py @@ -36,7 +36,7 @@ class Email(ModelSQL, ModelView): ], help="The field that contains the recipient(s).") fallback_recipients = fields.Many2One( - 'res.user', "Recipients Fallback User", + 'res.user', "Recipients Fallback", domain=[ ('email', '!=', None), ], @@ -48,7 +48,7 @@ class Email(ModelSQL, ModelView): ], help="The field that contains the secondary recipient(s).") fallback_recipients_secondary = fields.Many2One( - 'res.user', "Secondary Recipients Fallback User", + 'res.user', "Secondary Recipients Fallback", domain=[ ('email', '!=', None), ], @@ -60,7 +60,7 @@ class Email(ModelSQL, ModelView): ], help="The field that contains the hidden recipient(s).") fallback_recipients_hidden = fields.Many2One( - 'res.user', "Hidden Recipients Fallback User", + 'res.user', "Hidden Recipients Fallback", domain=[ ('email', '!=', None), ],