diff --git a/mail_show_follower/README.rst b/mail_show_follower/README.rst new file mode 100644 index 00000000..605dcc78 --- /dev/null +++ b/mail_show_follower/README.rst @@ -0,0 +1,119 @@ +================== +Mail Show Follower +================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:2887744c2fbfccc0a1542f6f46ebdc1d909b261e74c633966cb972fc22a47ad8 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmail-lightgray.png?logo=github + :target: https://github.com/OCA/mail/tree/18.0/mail_show_follower + :alt: OCA/mail +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/mail-18-0/mail-18-0-mail_show_follower + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/mail&target_branch=18.0 + :alt: Try me on Runboat + +|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: + +1. The followers only count if are contacts or external users (Inner + Followers will be discriminated) +2. The number of followers are more than 1. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To configure this module, you need to: + +1. Go General settings/Discuss/Show Followers on mails/Show Internal + Users CC and set if want to show or not internal users in cc details. +2. Go Settings/Users & Company select any user in 'Preferences' check or + not the 'Show in CC' field if this user need to appear in the cc + note. +3. Go General settings/Discuss/Show Followers on mails/Text 'Sent to' + and set the initial part of the message. +4. Go General settings/Discuss/Show Followers on mails/Partner format + and choose desired fields to show on CC recipients. +5. Go General settings/Discuss/Show Followers on mails/Text 'Replies' + and choose desired warn message +6. Go General settings/Discuss/Show Followers in 'Models to exclude' + enter the models you want to exclude from the CC note. + +Usage +===== + +To use this module, you need to: + +1. Send an email from any document of odoo. + +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 to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Sygel +* Moduon + +Contributors +------------ + +- Valentin Vinagre +- Lorenzo Battistini +- Eduardo de Miguel +- Vincent Van Rossem + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. + +.. |maintainer-yajo| image:: https://github.com/yajo.png?size=40px + :target: https://github.com/yajo + :alt: yajo + +Current `maintainer `__: + +|maintainer-yajo| + +This module is part of the `OCA/mail `_ 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 new file mode 100644 index 00000000..0650744f --- /dev/null +++ b/mail_show_follower/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/mail_show_follower/__manifest__.py b/mail_show_follower/__manifest__.py new file mode 100644 index 00000000..c3f22663 --- /dev/null +++ b/mail_show_follower/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2020 Valentin Vinagre +# Copyright 2022 Eduardo de Miguel +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Mail Show Follower", + "summary": "Show CC document followers in mails.", + "version": "18.0.1.0.0", + "category": "Mail", + "website": "https://github.com/OCA/mail", + "author": "Sygel, Moduon, Odoo Community Association (OCA)", + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": ["base", "mail"], + "maintainers": ["yajo"], + "data": [ + "data/config_parameter_data.xml", + "views/res_config_settings.xml", + "views/res_users.xml", + ], +} diff --git a/mail_show_follower/data/config_parameter_data.xml b/mail_show_follower/data/config_parameter_data.xml new file mode 100644 index 00000000..e582b4e2 --- /dev/null +++ b/mail_show_follower/data/config_parameter_data.xml @@ -0,0 +1,9 @@ + + + + show_followers.models_to_exclude + blog.blog,blog.post,slide.slide,slide.channel,forum.forum,forum.post + + diff --git a/mail_show_follower/i18n/es.po b/mail_show_follower/i18n/es.po new file mode 100644 index 00000000..5ea0456e --- /dev/null +++ b/mail_show_follower/i18n/es.po @@ -0,0 +1,157 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_show_follower +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-08 13:36+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_email)s = Partner Email" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_email_domain)s = Partner Email Domain" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_name)s <%(partner_email)s>" +msgstr "%(partner_name)s <%(partner_email)s>" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_name)s = Partner Name" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Supported parameters:" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_company +msgid "Companies" +msgstr "Compañías" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_config_settings +msgid "Config Settings" +msgstr "Ajustes Configuración" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_partner +msgid "Contact" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_preview +msgid "Message preview" +msgstr "Vista previa del mensaje" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Models to exclude" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Notice: Replies to this email will be sent to all recipients." +msgstr "" +"Aviso: Las respuestas a este correo electrónico se enviarán a todos los " +"destinatarios." + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_mail_mail +msgid "Outgoing Mails" +msgstr "Correos Salientes" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_partner_format +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_partner_format +msgid "Partner format" +msgstr "Formato socio" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_models_to_exclude +msgid "Show Followers Models To Exclude" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Show Followers on mails" +msgstr "Mostrar Seguidores en mails" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_internal_users_cc +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_internal_users_cc +msgid "Show Internal Users CC" +msgstr "Mostrar Usuarios Internos CC" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Show Internal Users on CC" +msgstr "Mostrar Usuarios Internos en CC" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_users__show_in_cc +msgid "Show in CC" +msgstr "Mostrar en CC" + +#. module: mail_show_follower +#: model:ir.model.fields,help:mail_show_follower.field_res_company__show_followers_partner_format +#: model:ir.model.fields,help:mail_show_follower.field_res_config_settings__show_followers_partner_format +msgid "" +"Supported parameters:\n" +"%(partner_name)s = Partner Name\n" +"%(partner_email)s = Partner Email\n" +"%(partner_email_domain)s = Partner Email Domain" +msgstr "" +"Parámetros admitidos:\n" +"%(partner_name)s = Nombre del socio\n" +"%(partner_email)s = Correo electrónico del socio\n" +"%(partner_email_domain)s = Dominio de correo electrónico del socio" + +#. module: mail_show_follower +#: model:ir.model.fields,help:mail_show_follower.field_res_config_settings__show_followers_models_to_exclude +msgid "Tecnichal model names separated by coma" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_message_response_warning +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_response_warning +msgid "Text 'Replies'" +msgstr "Texto 'Respuestas'" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_message_sent_to +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_sent_to +msgid "Text 'Sent to'" +msgstr "Texto 'Enviado a'" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "This message has been sent to" +msgstr "Este mensaje ha sido enviado a" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_users +msgid "User" +msgstr "Usuario" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "blog.blog,blog.post" +msgstr "" diff --git a/mail_show_follower/i18n/fr.po b/mail_show_follower/i18n/fr.po new file mode 100644 index 00000000..cc9542df --- /dev/null +++ b/mail_show_follower/i18n/fr.po @@ -0,0 +1,159 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_show_follower +# +msgid "" +msgstr "" +"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" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_email)s = Partner Email" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_email_domain)s = Partner Email Domain" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_name)s <%(partner_email)s>" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_name)s = Partner Name" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Supported parameters:" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_company +msgid "Companies" +msgstr "Sociétés" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_config_settings +msgid "Config Settings" +msgstr "Paramétrage" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_partner +msgid "Contact" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_preview +msgid "Message preview" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Models to exclude" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Notice: Replies to this email will be sent to all recipients." +msgstr "" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_mail_mail +msgid "Outgoing Mails" +msgstr "Courriels à envoyer" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_partner_format +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_partner_format +msgid "Partner format" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_models_to_exclude +msgid "Show Followers Models To Exclude" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Show Followers on mails" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_internal_users_cc +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_internal_users_cc +msgid "Show Internal Users CC" +msgstr "Afficher les utilisateurs internes en « Copie à (CC) »" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Show Internal Users on CC" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_users__show_in_cc +msgid "Show in CC" +msgstr "Afficher dans « Copie à (CC) »" + +#. module: mail_show_follower +#: model:ir.model.fields,help:mail_show_follower.field_res_company__show_followers_partner_format +#: model:ir.model.fields,help:mail_show_follower.field_res_config_settings__show_followers_partner_format +msgid "" +"Supported parameters:\n" +"%(partner_name)s = Partner Name\n" +"%(partner_email)s = Partner Email\n" +"%(partner_email_domain)s = Partner Email Domain" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,help:mail_show_follower.field_res_config_settings__show_followers_models_to_exclude +msgid "Tecnichal model names separated by coma" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_message_response_warning +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_response_warning +msgid "Text 'Replies'" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_message_sent_to +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_sent_to +msgid "Text 'Sent to'" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "This message has been sent to" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_users +msgid "User" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "blog.blog,blog.post" +msgstr "" + +#~ msgid "Users" +#~ msgstr "Utilisateurs" + +#~ msgid "Add internal users in cc mails details" +#~ msgstr "" +#~ "Ajouter les utilisateurs internes dans l'entête « Copie à (CC) » des e-" +#~ "mails" diff --git a/mail_show_follower/i18n/it.po b/mail_show_follower/i18n/it.po new file mode 100644 index 00000000..7a1227aa --- /dev/null +++ b/mail_show_follower/i18n/it.po @@ -0,0 +1,156 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_show_follower +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-11-21 11:06+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_email)s = Partner Email" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_email_domain)s = Partner Email Domain" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_name)s <%(partner_email)s>" +msgstr "%(partner_name)s <%(partner_email)s>" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_name)s = Partner Name" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Supported parameters:" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_company +msgid "Companies" +msgstr "Aziende" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_config_settings +msgid "Config Settings" +msgstr "Impostazioni configurazione" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_partner +msgid "Contact" +msgstr "Contatto" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_preview +msgid "Message preview" +msgstr "Anteprima messaggio" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Models to exclude" +msgstr "Modelli da escludere" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Notice: Replies to this email will be sent to all recipients." +msgstr "" +"Avviso: la risposta a questa e-mail verrà inviata a tutti i deStinatari." + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_mail_mail +msgid "Outgoing Mails" +msgstr "E-mail in uscita" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_partner_format +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_partner_format +msgid "Partner format" +msgstr "Formato partner" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_models_to_exclude +msgid "Show Followers Models To Exclude" +msgstr "Visualizza modelli di chi segue da escludere" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Show Followers on mails" +msgstr "Visualizza chi segue nelle e-mail" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_internal_users_cc +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_internal_users_cc +msgid "Show Internal Users CC" +msgstr "Visualizza utenti interni in CC" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Show Internal Users on CC" +msgstr "Visualizza utenti interni in CC" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_users__show_in_cc +msgid "Show in CC" +msgstr "Visualizza in CC" + +#. module: mail_show_follower +#: model:ir.model.fields,help:mail_show_follower.field_res_company__show_followers_partner_format +#: model:ir.model.fields,help:mail_show_follower.field_res_config_settings__show_followers_partner_format +msgid "" +"Supported parameters:\n" +"%(partner_name)s = Partner Name\n" +"%(partner_email)s = Partner Email\n" +"%(partner_email_domain)s = Partner Email Domain" +msgstr "" +"Parametri supportati:\n" +"%(partner_name)s = nome partner\n" +"%(partner_email)s = e-mail partner\n" +"%(partner_email_domain)s = dominio e-mail partner" + +#. module: mail_show_follower +#: model:ir.model.fields,help:mail_show_follower.field_res_config_settings__show_followers_models_to_exclude +msgid "Tecnichal model names separated by coma" +msgstr "Nomi tecnici modelli separati da virgola" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_message_response_warning +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_response_warning +msgid "Text 'Replies'" +msgstr "Testo 'Rispondi'" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_message_sent_to +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_sent_to +msgid "Text 'Sent to'" +msgstr "Testo 'Invia a'" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "This message has been sent to" +msgstr "Questo messaggio è stato inviato a" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_users +msgid "User" +msgstr "Utente" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "blog.blog,blog.post" +msgstr "blog.blog,blog.post" diff --git a/mail_show_follower/i18n/mail_show_follower.pot b/mail_show_follower/i18n/mail_show_follower.pot new file mode 100644 index 00000000..393df9d3 --- /dev/null +++ b/mail_show_follower/i18n/mail_show_follower.pot @@ -0,0 +1,148 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_show_follower +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_email)s = Partner Email" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_email_domain)s = Partner Email Domain" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_name)s <%(partner_email)s>" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_name)s = Partner Name" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Supported parameters:" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_company +msgid "Companies" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_partner +msgid "Contact" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_preview +msgid "Message preview" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Models to exclude" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Notice: Replies to this email will be sent to all recipients." +msgstr "" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_mail_mail +msgid "Outgoing Mails" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_partner_format +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_partner_format +msgid "Partner format" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_models_to_exclude +msgid "Show Followers Models To Exclude" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Show Followers on mails" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_internal_users_cc +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_internal_users_cc +msgid "Show Internal Users CC" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Show Internal Users on CC" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_users__show_in_cc +msgid "Show in CC" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,help:mail_show_follower.field_res_company__show_followers_partner_format +#: model:ir.model.fields,help:mail_show_follower.field_res_config_settings__show_followers_partner_format +msgid "" +"Supported parameters:\n" +"%(partner_name)s = Partner Name\n" +"%(partner_email)s = Partner Email\n" +"%(partner_email_domain)s = Partner Email Domain" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,help:mail_show_follower.field_res_config_settings__show_followers_models_to_exclude +msgid "Tecnichal model names separated by coma" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_message_response_warning +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_response_warning +msgid "Text 'Replies'" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_message_sent_to +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_sent_to +msgid "Text 'Sent to'" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "This message has been sent to" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_users +msgid "User" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "blog.blog,blog.post" +msgstr "" diff --git a/mail_show_follower/i18n/pt_BR.po b/mail_show_follower/i18n/pt_BR.po new file mode 100644 index 00000000..a81e4bdc --- /dev/null +++ b/mail_show_follower/i18n/pt_BR.po @@ -0,0 +1,157 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * mail_show_follower +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-12-19 19:06+0000\n" +"Last-Translator: Rodrigo Sottomaior Macedo " +"\n" +"Language-Team: none\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 5.6.2\n" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_email)s = Partner Email" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_email_domain)s = Partner Email Domain" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_name)s <%(partner_email)s>" +msgstr "%(partner_name)s <%(partner_email)s>" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "%(partner_name)s = Partner Name" +msgstr "" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Supported parameters:" +msgstr "" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_company +msgid "Companies" +msgstr "Empresas" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_config_settings +msgid "Config Settings" +msgstr "Configurações" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_partner +msgid "Contact" +msgstr "Contato" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_preview +msgid "Message preview" +msgstr "Visualização da Mensagem" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Models to exclude" +msgstr "Modelos para exclusão" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Notice: Replies to this email will be sent to all recipients." +msgstr "" +"Aviso: As respostas a este e-mail serão enviadas a todos os destinatários." + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_mail_mail +msgid "Outgoing Mails" +msgstr "E-mails de Saída" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_partner_format +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_partner_format +msgid "Partner format" +msgstr "Formato do Parceiro" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_models_to_exclude +msgid "Show Followers Models To Exclude" +msgstr "Mostrar modelos de seguidores para excluir" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Show Followers on mails" +msgstr "Mostrar seguidores nos e-mails" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_internal_users_cc +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_internal_users_cc +msgid "Show Internal Users CC" +msgstr "Mostrar Usuários Internos CC" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "Show Internal Users on CC" +msgstr "Mostrar usuários internos no CC" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_users__show_in_cc +msgid "Show in CC" +msgstr "Mostrar em CC" + +#. module: mail_show_follower +#: model:ir.model.fields,help:mail_show_follower.field_res_company__show_followers_partner_format +#: model:ir.model.fields,help:mail_show_follower.field_res_config_settings__show_followers_partner_format +msgid "" +"Supported parameters:\n" +"%(partner_name)s = Partner Name\n" +"%(partner_email)s = Partner Email\n" +"%(partner_email_domain)s = Partner Email Domain" +msgstr "" +"Parâmetros suportados:\n" +"%(partner_name)s = Nome do parceiro\n" +"%(partner_email)s = E-mail do parceiro\n" +"%(partner_email_domain)s = Domínio de e-mail do parceiro" + +#. module: mail_show_follower +#: model:ir.model.fields,help:mail_show_follower.field_res_config_settings__show_followers_models_to_exclude +msgid "Tecnichal model names separated by coma" +msgstr "Nomes de modelos técnicos separados por vírgula" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_message_response_warning +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_response_warning +msgid "Text 'Replies'" +msgstr "Texto 'Respostas'" + +#. module: mail_show_follower +#: model:ir.model.fields,field_description:mail_show_follower.field_res_company__show_followers_message_sent_to +#: model:ir.model.fields,field_description:mail_show_follower.field_res_config_settings__show_followers_message_sent_to +msgid "Text 'Sent to'" +msgstr "Texto 'Enviado para'" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "This message has been sent to" +msgstr "Esta mensagem foi enviada para" + +#. module: mail_show_follower +#: model:ir.model,name:mail_show_follower.model_res_users +msgid "User" +msgstr "Usuário" + +#. module: mail_show_follower +#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form +msgid "blog.blog,blog.post" +msgstr "blog.blog,blog.post" diff --git a/mail_show_follower/models/__init__.py b/mail_show_follower/models/__init__.py new file mode 100644 index 00000000..44f67d08 --- /dev/null +++ b/mail_show_follower/models/__init__.py @@ -0,0 +1,5 @@ +from . import mail_mail +from . import res_company +from . import res_config_settings +from . import res_partner +from . import res_users diff --git a/mail_show_follower/models/mail_mail.py b/mail_show_follower/models/mail_mail.py new file mode 100644 index 00000000..3fe6da7d --- /dev/null +++ b/mail_show_follower/models/mail_mail.py @@ -0,0 +1,109 @@ +from markupsafe import Markup + +from odoo import api, models, tools + + +class MailMail(models.Model): + _inherit = "mail.mail" + + @api.model + def _build_cc_text(self, partners): + if not partners: + return "" + + def get_ctx_param(ctx_key, default_parm): + if ctx_key in self.env.context: + return self.env.context[ctx_key] + return default_parm + + def remove_p(markup_txt): + if markup_txt.startswith("

") and markup_txt.endswith("

"): + return markup_txt[3:-4] + return markup_txt + + company = self.env.company + partner_format = get_ctx_param( + "partner_format", company.show_followers_partner_format + ) + msg_sent_to = get_ctx_param( + "msg_sent_to", company.show_followers_message_sent_to + ) + msg_warn = get_ctx_param( + "msg_warn", company.show_followers_message_response_warning + ) + partner_message = ", ".join( + [ + partner_format + % { + # Supported parameters + "partner_name": p.name, + "partner_email": p.email, + "partner_email_domain": tools.email_domain_extract(p.email), + } + for p in partners + ] + ) + full_text = """ +
+ {msg_sent_to} {partner_message} + {rc}{msg_warn} +
+ """.format( + msg_sent_to=remove_p(msg_sent_to), + partner_message=Markup.escape(partner_message), + rc=msg_warn.striptags() and "
" or "", + msg_warn=msg_warn.striptags() and remove_p(msg_warn) or "", + ) + return full_text + + def _send( + self, + auto_commit=False, + raise_exception=False, + smtp_session=None, + alias_domain_id=False, + mail_server=False, + post_send_callback=None, + ): + group_user = self.env.ref("base.group_user") + models_to_exclude = ( + self.env["ir.config_parameter"] + .sudo() + .get_param("show_followers.models_to_exclude", "") + ) + for mail in self: + if not (mail.model and mail.res_id and group_user): + continue + if models_to_exclude and mail.model in models_to_exclude.split(","): + continue + # recipients from any Notification Type (i.e. email, inbox, etc.) + recipients = mail.notification_ids.res_partner_id + record = self.env[mail.model].browse(mail.res_id) + company = getattr(record, "company_id", self.env.company) + show_internal_users = company and company.show_internal_users_cc + show_in_cc_recipients = recipients._filter_shown_in_cc(show_internal_users) + if len(show_in_cc_recipients) <= 1: + continue + lang = ( + mail.notification_ids.res_partner_id[:1].lang + or mail.author_id.lang + or company.partner_id.lang + or "en_US" + ) + final_cc = ( + mail.with_context(lang=lang) + .with_company(company) + ._build_cc_text(show_in_cc_recipients) + ) + mail.body_html = final_cc + mail.body_html + + return super()._send( + auto_commit=auto_commit, + raise_exception=raise_exception, + smtp_session=smtp_session, + alias_domain_id=alias_domain_id, + mail_server=mail_server, + post_send_callback=post_send_callback, + ) diff --git a/mail_show_follower/models/res_company.py b/mail_show_follower/models/res_company.py new file mode 100644 index 00000000..3e802cc0 --- /dev/null +++ b/mail_show_follower/models/res_company.py @@ -0,0 +1,28 @@ +from odoo import fields, models + + +class ResCompany(models.Model): + _inherit = "res.company" + + show_internal_users_cc = fields.Boolean( + string="Show Internal Users CC", + default=True, + ) + show_followers_message_sent_to = fields.Html( + string="Text 'Sent to'", + translate=True, + default="This message has been sent to", + ) + show_followers_partner_format = fields.Char( + string="Partner format", + default="%(partner_name)s", + help="Supported parameters:\n" + "%(partner_name)s = Partner Name\n" + "%(partner_email)s = Partner Email\n" + "%(partner_email_domain)s = Partner Email Domain", + ) + show_followers_message_response_warning = fields.Html( + string="Text 'Replies'", + translate=True, + default="Notice: Replies to this email will be sent to all recipients", + ) diff --git a/mail_show_follower/models/res_config_settings.py b/mail_show_follower/models/res_config_settings.py new file mode 100644 index 00000000..8c50849a --- /dev/null +++ b/mail_show_follower/models/res_config_settings.py @@ -0,0 +1,55 @@ +from odoo import api, fields, models + + +class ResConfigSettings(models.TransientModel): + _inherit = "res.config.settings" + + show_internal_users_cc = fields.Boolean( + related="company_id.show_internal_users_cc", + readonly=False, + ) + show_followers_message_sent_to = fields.Html( + related="company_id.show_followers_message_sent_to", + readonly=False, + ) + show_followers_partner_format = fields.Char( + related="company_id.show_followers_partner_format", + readonly=False, + help="Supported parameters:\n" + "%(partner_name)s = Partner Name\n" + "%(partner_email)s = Partner Email\n" + "%(partner_email_domain)s = Partner Email Domain", + ) + show_followers_message_response_warning = fields.Html( + related="company_id.show_followers_message_response_warning", + readonly=False, + ) + show_followers_message_preview = fields.Html( + string="Message preview", + readonly=True, + store=False, + ) + show_followers_models_to_exclude = fields.Char( + help="Tecnichal model names separated by coma", + config_parameter="show_followers.models_to_exclude", + ) + + @api.onchange( + "show_followers_message_sent_to", + "show_followers_partner_format", + "show_followers_message_response_warning", + ) + def onchange_show_followers_message_preview(self): + self.show_followers_message_preview = ( + self.env["mail.mail"] + .with_context( + # Use current data before + partner_format=self.show_followers_partner_format or "", + msg_sent_to=self.show_followers_message_sent_to or "", + msg_warn=self.show_followers_message_response_warning or "", + ) + ._build_cc_text( + # Sample partners + self.env["res.partner"].search([("email", "!=", False)], limit=3), + ) + ) diff --git a/mail_show_follower/models/res_partner.py b/mail_show_follower/models/res_partner.py new file mode 100644 index 00000000..0a7b5fbe --- /dev/null +++ b/mail_show_follower/models/res_partner.py @@ -0,0 +1,26 @@ +from odoo import models + + +class ResPartner(models.Model): + _inherit = "res.partner" + + def _filter_shown_in_cc(self, show_internal_users): + """Get partners that should be displayed as CC on mails.""" + # Never display hidden users + result = self.filtered_domain( + [ + "|", + ("user_ids", "=", False), + ("user_ids.show_in_cc", "=", True), + ] + ) + # Remove internal users from result if needed + if not show_internal_users: + internal_users = result.filtered_domain( + [ + ("user_ids.active", "=", True), + ("user_ids.groups_id", "in", self.env.ref("base.group_user").ids), + ] + ) + result -= internal_users + return result diff --git a/mail_show_follower/models/res_users.py b/mail_show_follower/models/res_users.py new file mode 100644 index 00000000..4f9d71f3 --- /dev/null +++ b/mail_show_follower/models/res_users.py @@ -0,0 +1,7 @@ +from odoo import fields, models + + +class ResUser(models.Model): + _inherit = "res.users" + + show_in_cc = fields.Boolean(string="Show in CC", default=True) diff --git a/mail_show_follower/pyproject.toml b/mail_show_follower/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/mail_show_follower/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/mail_show_follower/readme/CONFIGURE.md b/mail_show_follower/readme/CONFIGURE.md new file mode 100644 index 00000000..8b9f8d9e --- /dev/null +++ b/mail_show_follower/readme/CONFIGURE.md @@ -0,0 +1,16 @@ +To configure this module, you need to: + +1. Go General settings/Discuss/Show Followers on mails/Show Internal + Users CC and set if want to show or not internal users in cc + details. +2. Go Settings/Users & Company select any user in 'Preferences' check + or not the 'Show in CC' field if this user need to appear in the cc + note. +3. Go General settings/Discuss/Show Followers on mails/Text 'Sent to' + and set the initial part of the message. +4. Go General settings/Discuss/Show Followers on mails/Partner format + and choose desired fields to show on CC recipients. +5. Go General settings/Discuss/Show Followers on mails/Text 'Replies' + and choose desired warn message +6. Go General settings/Discuss/Show Followers in 'Models to exclude' + enter the models you want to exclude from the CC note. diff --git a/mail_show_follower/readme/CONTRIBUTORS.md b/mail_show_follower/readme/CONTRIBUTORS.md new file mode 100644 index 00000000..d4ca1f5d --- /dev/null +++ b/mail_show_follower/readme/CONTRIBUTORS.md @@ -0,0 +1,4 @@ +- Valentin Vinagre \<\> +- Lorenzo Battistini +- Eduardo de Miguel \<\> +- Vincent Van Rossem \<\> diff --git a/mail_show_follower/readme/DESCRIPTION.md b/mail_show_follower/readme/DESCRIPTION.md new file mode 100644 index 00000000..e1d20cd8 --- /dev/null +++ b/mail_show_follower/readme/DESCRIPTION.md @@ -0,0 +1,6 @@ +This module extends the functionality of mailing to show the document +followers in head of the mails. In the cc, only appear when: + +1. The followers only count if are contacts or external users (Inner + Followers will be discriminated) +2. The number of followers are more than 1. diff --git a/mail_show_follower/readme/USAGE.md b/mail_show_follower/readme/USAGE.md new file mode 100644 index 00000000..4ec67473 --- /dev/null +++ b/mail_show_follower/readme/USAGE.md @@ -0,0 +1,3 @@ +To use this module, you need to: + +1. Send an email from any document of odoo. diff --git a/mail_show_follower/static/description/icon.png b/mail_show_follower/static/description/icon.png new file mode 100644 index 00000000..3a0328b5 Binary files /dev/null and b/mail_show_follower/static/description/icon.png differ diff --git a/mail_show_follower/static/description/index.html b/mail_show_follower/static/description/index.html new file mode 100644 index 00000000..ec543f96 --- /dev/null +++ b/mail_show_follower/static/description/index.html @@ -0,0 +1,463 @@ + + + + + +Mail Show Follower + + + +
+

Mail Show Follower

+ + +

Beta License: AGPL-3 OCA/mail Translate me on Weblate Try me on Runboat

+

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

+
    +
  1. The followers only count if are contacts or external users (Inner +Followers will be discriminated)
  2. +
  3. The number of followers are more than 1.
  4. +
+

Table of contents

+ +
+

Configuration

+

To configure this module, you need to:

+
    +
  1. Go General settings/Discuss/Show Followers on mails/Show Internal +Users CC and set if want to show or not internal users in cc details.
  2. +
  3. Go Settings/Users & Company select any user in ‘Preferences’ check or +not the ‘Show in CC’ field if this user need to appear in the cc +note.
  4. +
  5. Go General settings/Discuss/Show Followers on mails/Text ‘Sent to’ +and set the initial part of the message.
  6. +
  7. Go General settings/Discuss/Show Followers on mails/Partner format +and choose desired fields to show on CC recipients.
  8. +
  9. Go General settings/Discuss/Show Followers on mails/Text ‘Replies’ +and choose desired warn message
  10. +
  11. Go General settings/Discuss/Show Followers in ‘Models to exclude’ +enter the models you want to exclude from the CC note.
  12. +
+
+
+

Usage

+

To use this module, you need to:

+
    +
  1. Send an email from any document of odoo.
  2. +
+
+
+

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 to smash it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Sygel
  • +
  • Moduon
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

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.

+

Current maintainer:

+

yajo

+

This module is part of the OCA/mail 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/views/res_config_settings.xml b/mail_show_follower/views/res_config_settings.xml new file mode 100644 index 00000000..e1c3a732 --- /dev/null +++ b/mail_show_follower/views/res_config_settings.xml @@ -0,0 +1,88 @@ + + + + res.config.settings.view.form.inherit.mail.show.follower + res.config.settings + + + + +
+
+
+
+
+
+
+
+
+
+
diff --git a/mail_show_follower/views/res_users.xml b/mail_show_follower/views/res_users.xml new file mode 100644 index 00000000..a05a6ebd --- /dev/null +++ b/mail_show_follower/views/res_users.xml @@ -0,0 +1,13 @@ + + + + view.users.form.mail.show.follower + res.users + + + + + + + +