From ecaf6d7a4ecf07e55ac48633120615398bddaa90 Mon Sep 17 00:00:00 2001 From: Eduardo De Miguel Date: Fri, 11 Mar 2022 13:06:44 +0100 Subject: [PATCH] [MIG] mail_show_follower: Migration to 15.0 [REF] Compact comment --- mail_show_follower/README.rst | 12 ++++++------ mail_show_follower/__init__.py | 0 mail_show_follower/__manifest__.py | 7 +++++-- mail_show_follower/i18n/fr.po | 2 +- mail_show_follower/i18n/mail_show_follower.pot | 3 +-- mail_show_follower/models/__init__.py | 0 mail_show_follower/models/mail_mail.py | 9 +++------ mail_show_follower/static/description/index.html | 6 +++--- 8 files changed, 19 insertions(+), 20 deletions(-) mode change 100755 => 100644 mail_show_follower/__init__.py mode change 100755 => 100644 mail_show_follower/__manifest__.py mode change 100755 => 100644 mail_show_follower/models/__init__.py mode change 100755 => 100644 mail_show_follower/models/mail_mail.py diff --git a/mail_show_follower/README.rst b/mail_show_follower/README.rst index adcddc0..29a6ff3 100644 --- a/mail_show_follower/README.rst +++ b/mail_show_follower/README.rst @@ -14,16 +14,16 @@ Mail Show Follower :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github - :target: https://github.com/OCA/social/tree/12.0/mail_show_follower + :target: https://github.com/OCA/social/tree/15.0/mail_show_follower :alt: OCA/social .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_show_follower + :target: https://translation.odoo-community.org/projects/social-15-0/social-15-0-mail_show_follower :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/205/12.0 + :target: https://runbot.odoo-community.org/runbot/205/15.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module extends the functionality of mailing to show the document followers in head of the mails. In the cc, only appear when: @@ -57,7 +57,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -88,6 +88,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/social `_ project on GitHub. +This module is part of the `OCA/social `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/mail_show_follower/__init__.py b/mail_show_follower/__init__.py old mode 100755 new mode 100644 diff --git a/mail_show_follower/__manifest__.py b/mail_show_follower/__manifest__.py old mode 100755 new mode 100644 index a35d9ed..b816bd0 --- a/mail_show_follower/__manifest__.py +++ b/mail_show_follower/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Mail Show Follower", "summary": "Show CC document followers in mails.", - "version": "12.0.1.0.1", + "version": "15.0.1.0.0", "category": "Mail", "website": "https://github.com/OCA/social", "author": "Sygel, Odoo Community Association (OCA)", @@ -12,5 +12,8 @@ "application": False, "installable": True, "depends": ["base", "mail"], - "data": ["views/res_config_settings.xml", "views/res_users.xml"], + "data": [ + "views/res_config_settings.xml", + "views/res_users.xml", + ], } diff --git a/mail_show_follower/i18n/fr.po b/mail_show_follower/i18n/fr.po index db94ac0..b70c373 100644 --- a/mail_show_follower/i18n/fr.po +++ b/mail_show_follower/i18n/fr.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2022-01-19 15:32+0000\n" "Last-Translator: Yann Papouin \n" diff --git a/mail_show_follower/i18n/mail_show_follower.pot b/mail_show_follower/i18n/mail_show_follower.pot index 4797a20..5da0e0e 100644 --- a/mail_show_follower/i18n/mail_show_follower.pot +++ b/mail_show_follower/i18n/mail_show_follower.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -48,4 +48,3 @@ msgstr "" #: model:ir.model,name:mail_show_follower.model_res_users msgid "Users" msgstr "" - diff --git a/mail_show_follower/models/__init__.py b/mail_show_follower/models/__init__.py old mode 100755 new mode 100644 diff --git a/mail_show_follower/models/mail_mail.py b/mail_show_follower/models/mail_mail.py old mode 100755 new mode 100644 index 27d3bf1..5c9f6ad --- a/mail_show_follower/models/mail_mail.py +++ b/mail_show_follower/models/mail_mail.py @@ -1,10 +1,9 @@ -from odoo import api, models +from odoo import models class MailMail(models.Model): _inherit = "mail.mail" - @api.multi def _send(self, auto_commit=False, raise_exception=False, smtp_session=None): plain_text = ( '
-

Beta License: AGPL-3 OCA/social Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/social Translate me on Weblate Try me on Runbot

This module extends the functionality of mailing to show the document followers in head of the mails. In the cc, only appear when:

    @@ -408,7 +408,7 @@ In the cc, only appear when:

    Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

    +feedback.

    Do not contact contributors directly about support or help with technical issues.

@@ -433,7 +433,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

-

This module is part of the OCA/social project on GitHub.

+

This module is part of the OCA/social project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.