From 018c9236183bffa33b6ca53225d0339e7f4dd7a0 Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Thu, 27 Jun 2024 15:20:44 +0200 Subject: [PATCH] [FIX] mail_environment: default computation fix the implementation of _compute_default_authentication to match what is expected by the mixin --- mail_environment/models/ir_mail_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail_environment/models/ir_mail_server.py b/mail_environment/models/ir_mail_server.py index d4b6f2513..322fd51c9 100644 --- a/mail_environment/models/ir_mail_server.py +++ b/mail_environment/models/ir_mail_server.py @@ -27,7 +27,7 @@ def _server_env_fields(self): return mail_fields def _compute_default_authentication(self): - return "login" + self.update({"smtp_authentication": "login"}) @api.model def _server_env_global_section_name(self):