Skip to content

Commit

Permalink
Add mail_optional_follower_notification module (OCA#60)
Browse files Browse the repository at this point in the history
* [ADD] Add mail_optional_follower_notifications module

* [CHG][mail_optional_follower_notifications] Readme.

* [IMP][mail_optional_follower_notifications] Code review.

* [CHG] Rename mail_optional_follower_notifications to mail_optional_follower_notification

* [IMP][mail_optional_follower_notification] Review
  • Loading branch information
adrienpeiffer authored and robin5210 committed Mar 9, 2022
1 parent 8902b1e commit df16371
Show file tree
Hide file tree
Showing 21 changed files with 549 additions and 0 deletions.
60 changes: 60 additions & 0 deletions mail_optional_follower_notification/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

====================================
Mail optional follower notifications
====================================

This module adds the possibility to choose if you want to automatically
notify followers on mail.compose.message. By default, Odoo notify
automatically all followers.

Usage
=====

To use this module, you need to use the checkbox near "Followers of the document and" on mail.compose.message:

This field it's initialized to true to keep the standard behavior.

.. figure:: static/description/optional_follower_001.png
:alt: Default checkbox

.. figure:: static/description/optional_follower_002.png
:alt: Checkbox to avoid to notify automatically followers

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/205/8.0

* https://www.odoo.com/forum/help-1


Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/social/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
`here <https://github.com/OCA/social/issues/new?body=module:%20mail_optional_follower_notification%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======

Contributors
------------

* Adrien Peiffer <adrien.peiffer@acsone.eu>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.
6 changes: 6 additions & 0 deletions mail_optional_follower_notification/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
from . import wizard
22 changes: 22 additions & 0 deletions mail_optional_follower_notification/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': "Mail optional follower notification",

'summary': """
Choose if you want to automatically notify followers
on mail.compose.message""",
'author': 'ACSONE SA/NV,'
'Odoo Community Association (OCA)',
'website': "http://acsone.eu",
'category': 'Social Network',
'version': '8.0.1.0.0',
'license': 'AGPL-3',
'depends': [
'mail',
],
'data': [
'wizard/mail_compose_message_view.xml',
],
}
45 changes: 45 additions & 0 deletions mail_optional_follower_notification/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_optional_follower_notification
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: social (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-05-26 02:42+0000\n"
"PO-Revision-Date: 2016-05-25 14:10+0000\n"
"Last-Translator: <>\n"
"Language-Team: Catalan (http://www.transifex.com/oca/OCA-social-8-0/language/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: mail_optional_follower_notification
#: view:mail.compose.message:mail_optional_follower_notification.email_compose_message_wizard_inherit_form
msgid ""
"- Warning : Followers will not be notified but they can access the "
"notification directly from the document (if they are allowed to)"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Assistent per composició de correus electrònics"

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_message
msgid "Message"
msgstr "Missatge"

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_notification
msgid "Notifications"
msgstr ""

#. module: mail_optional_follower_notification
#: field:mail.compose.message,notify_followers:0
msgid "Notify followers"
msgstr ""
45 changes: 45 additions & 0 deletions mail_optional_follower_notification/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_optional_follower_notification
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: social (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-05-26 02:42+0000\n"
"PO-Revision-Date: 2016-05-25 14:10+0000\n"
"Last-Translator: <>\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-social-8-0/language/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: mail_optional_follower_notification
#: view:mail.compose.message:mail_optional_follower_notification.email_compose_message_wizard_inherit_form
msgid ""
"- Warning : Followers will not be notified but they can access the "
"notification directly from the document (if they are allowed to)"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Assistent zum Email verfassen"

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_message
msgid "Message"
msgstr "Nachricht"

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_notification
msgid "Notifications"
msgstr ""

#. module: mail_optional_follower_notification
#: field:mail.compose.message,notify_followers:0
msgid "Notify followers"
msgstr ""
45 changes: 45 additions & 0 deletions mail_optional_follower_notification/i18n/en.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_optional_follower_notification
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: social (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-05-26 02:42+0000\n"
"PO-Revision-Date: 2016-05-25 14:10+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
"Language-Team: English (http://www.transifex.com/oca/OCA-social-8-0/language/en/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: en\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: mail_optional_follower_notification
#: view:mail.compose.message:mail_optional_follower_notification.email_compose_message_wizard_inherit_form
msgid ""
"- Warning : Followers will not be notified but they can access the "
"notification directly from the document (if they are allowed to)"
msgstr "- Warning : Followers will not be notified but they can access the notification directly from the document (if they are allowed to)"

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Email composition wizard"

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_message
msgid "Message"
msgstr "Message"

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_notification
msgid "Notifications"
msgstr "Notifications"

#. module: mail_optional_follower_notification
#: field:mail.compose.message,notify_followers:0
msgid "Notify followers"
msgstr "Notify followers"
45 changes: 45 additions & 0 deletions mail_optional_follower_notification/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_optional_follower_notification
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: social (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-05-26 02:42+0000\n"
"PO-Revision-Date: 2016-05-25 14:10+0000\n"
"Last-Translator: <>\n"
"Language-Team: Spanish (http://www.transifex.com/oca/OCA-social-8-0/language/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: mail_optional_follower_notification
#: view:mail.compose.message:mail_optional_follower_notification.email_compose_message_wizard_inherit_form
msgid ""
"- Warning : Followers will not be notified but they can access the "
"notification directly from the document (if they are allowed to)"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Asistente composición Correo Electrónico"

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_message
msgid "Message"
msgstr "Mensaje"

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_notification
msgid "Notifications"
msgstr "Notificaciones"

#. module: mail_optional_follower_notification
#: field:mail.compose.message,notify_followers:0
msgid "Notify followers"
msgstr ""
45 changes: 45 additions & 0 deletions mail_optional_follower_notification/i18n/es_CO.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_optional_follower_notification
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: social (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-05-26 02:42+0000\n"
"PO-Revision-Date: 2016-05-25 14:10+0000\n"
"Last-Translator: <>\n"
"Language-Team: Spanish (Colombia) (http://www.transifex.com/oca/OCA-social-8-0/language/es_CO/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_CO\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: mail_optional_follower_notification
#: view:mail.compose.message:mail_optional_follower_notification.email_compose_message_wizard_inherit_form
msgid ""
"- Warning : Followers will not be notified but they can access the "
"notification directly from the document (if they are allowed to)"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Asistente de redacción de E-mail"

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_message
msgid "Message"
msgstr "Mensaje"

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_notification
msgid "Notifications"
msgstr ""

#. module: mail_optional_follower_notification
#: field:mail.compose.message,notify_followers:0
msgid "Notify followers"
msgstr ""
45 changes: 45 additions & 0 deletions mail_optional_follower_notification/i18n/pt_BR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_optional_follower_notification
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: social (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-05-26 02:42+0000\n"
"PO-Revision-Date: 2016-05-25 14:10+0000\n"
"Last-Translator: <>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-social-8-0/language/pt_BR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: pt_BR\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: mail_optional_follower_notification
#: view:mail.compose.message:mail_optional_follower_notification.email_compose_message_wizard_inherit_form
msgid ""
"- Warning : Followers will not be notified but they can access the "
"notification directly from the document (if they are allowed to)"
msgstr ""

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_compose_message
msgid "Email composition wizard"
msgstr "Assistente de Composição de Email"

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_message
msgid "Message"
msgstr "Mensagem"

#. module: mail_optional_follower_notification
#: model:ir.model,name:mail_optional_follower_notification.model_mail_notification
msgid "Notifications"
msgstr ""

#. module: mail_optional_follower_notification
#: field:mail.compose.message,notify_followers:0
msgid "Notify followers"
msgstr ""
Loading

0 comments on commit df16371

Please sign in to comment.