From a6e7fab12006b68348bdeaa388f63c604ed2e066 Mon Sep 17 00:00:00 2001 From: ArnauCForgeFlow Date: Fri, 31 Jan 2025 12:01:34 +0100 Subject: [PATCH] [MIG] mail_show_follower: Migration to 17.0 --- mail_show_follower/__manifest__.py | 2 +- mail_show_follower/models/mail_mail.py | 9 +- .../views/res_config_settings.xml | 126 +++++++++--------- 3 files changed, 69 insertions(+), 68 deletions(-) diff --git a/mail_show_follower/__manifest__.py b/mail_show_follower/__manifest__.py index 46a6e8e81..335e26896 100644 --- a/mail_show_follower/__manifest__.py +++ b/mail_show_follower/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Mail Show Follower", "summary": "Show CC document followers in mails.", - "version": "16.0.1.2.0", + "version": "17.0.1.0.0", "category": "Mail", "website": "https://github.com/OCA/social", "author": "Sygel, Moduon, Odoo Community Association (OCA)", diff --git a/mail_show_follower/models/mail_mail.py b/mail_show_follower/models/mail_mail.py index 845a7c4f3..ddb4a364a 100644 --- a/mail_show_follower/models/mail_mail.py +++ b/mail_show_follower/models/mail_mail.py @@ -58,7 +58,13 @@ class MailMail(models.Model): ) return full_text - def _send(self, auto_commit=False, raise_exception=False, smtp_session=None): + def _send( + self, + auto_commit=False, + raise_exception=False, + smtp_session=None, + alias_domain_id=False, + ): group_user = self.env.ref("base.group_user") models_to_exclude = ( self.env["ir.config_parameter"] @@ -95,4 +101,5 @@ class MailMail(models.Model): auto_commit=auto_commit, raise_exception=raise_exception, smtp_session=smtp_session, + alias_domain_id=alias_domain_id, ) diff --git a/mail_show_follower/views/res_config_settings.xml b/mail_show_follower/views/res_config_settings.xml index d223106eb..e1c3a7322 100644 --- a/mail_show_follower/views/res_config_settings.xml +++ b/mail_show_follower/views/res_config_settings.xml @@ -7,88 +7,82 @@ res.config.settings -
-
-
-
-
-
+ + +
+
-
+
+