diff --git a/mail_show_follower/__manifest__.py b/mail_show_follower/__manifest__.py index 46a6e8e812..335e268969 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 845a7c4f31..ddb4a364ad 100644 --- a/mail_show_follower/models/mail_mail.py +++ b/mail_show_follower/models/mail_mail.py @@ -58,7 +58,13 @@ def remove_p(markup_txt): ) 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 @@ def _send(self, auto_commit=False, raise_exception=False, smtp_session=None): 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 d223106eba..5f9f10652f 100644 --- a/mail_show_follower/views/res_config_settings.xml +++ b/mail_show_follower/views/res_config_settings.xml @@ -7,88 +7,63 @@ res.config.settings -
-
-
-
-
-
+ + +
+
-
-
+ +