Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
918fe1c
ADD mail_show_follower copied from https://github.com/sygel-technolog…
ValentinVinagre May 17, 2021
21488cc
IMP mail_show_follower metadata and style
eLBati May 17, 2021
c81c2ca
[UPD] Update mail_show_follower.pot
oca-travis Jul 5, 2021
6736a3d
[UPD] README.rst
OCA-git-bot Jul 5, 2021
50e9723
Translated using Weblate (French)
ypapouin Jan 19, 2022
267ef1d
FIX mail_show_follower: ValueError: Expected singleton: res.users
eLBati Oct 15, 2021
0286af7
[12.0][mail_show_follower] Update version
rafaelbn Feb 28, 2022
3499b31
[IMP] mail_show_follower: black, isort, prettier
Shide Mar 11, 2022
4e8f197
[MIG] mail_show_follower: Migration to 15.0
Shide Mar 11, 2022
10d2f57
[UPD] Update mail_show_follower.pot
Mar 16, 2022
8b2ff60
[ADD] Customize notification appearance
Shide Mar 18, 2022
738273d
mail_show_follower 15.0.1.2.0
OCA-git-bot Mar 28, 2022
14fad3c
[FIX] Add recipients of the all related messages on the notification
Shide Apr 7, 2022
6b616d9
mail_show_follower 15.0.1.2.1
OCA-git-bot Apr 8, 2022
972b65e
[FIX] mail_show_follower: failure when partner has more than 1 user
yajo Dec 2, 2022
2d707b0
[BUILD] mail_show_follower: adopt module
yajo Dec 2, 2022
4314de8
mail_show_follower 15.0.1.2.2
OCA-git-bot Dec 2, 2022
71e69ba
[MIG] mail_show_follower: Migration to 16.0
bosd Apr 20, 2023
3d040ae
[UPD] Update mail_show_follower.pot
Sep 22, 2023
78ae390
[BOT] post-merge updates
OCA-git-bot Sep 22, 2023
c6673c4
Update translation files
weblate Sep 22, 2023
fab5805
Added translation using Weblate (Spanish)
Ivorra78 Nov 8, 2023
33ddb8f
Added translation using Weblate (Italian)
mymage Nov 30, 2023
f5fe7f2
Added translation using Weblate (Portuguese (Brazil))
adrianojprado Dec 28, 2023
21eb266
[16.0][FIX][REF] mail_show_follower: internal notes
vvrossem Jun 10, 2024
872565b
fixup! [16.0][FIX][REF] mail_show_follower: internal notes
vvrossem Jun 24, 2024
0896b7a
[UPD] Update mail_show_follower.pot
Jul 10, 2024
f5935e1
[BOT] post-merge updates
OCA-git-bot Jul 10, 2024
37f6fe7
Update translation files
weblate Jul 10, 2024
45fd1ef
Translated using Weblate (Portuguese (Brazil))
SottomaiorMacedoTec Jul 10, 2024
737cbb6
Translated using Weblate (Italian)
mymage Jul 15, 2024
9006c75
[FIX] mail_show_follower: Use company from the document to render mes…
carlos-lopez-tecnativa Nov 4, 2024
3d8ce56
[BOT] post-merge updates
OCA-git-bot Nov 5, 2024
a66f90c
[IMP] mail_show_follower: Add an option to exclude specific models fr…
carlos-lopez-tecnativa Oct 29, 2024
1932a08
[FIX] mail_show_follower: More models to exclude
pedrobaeza Nov 11, 2024
7ff4cf4
[UPD] Update mail_show_follower.pot
Nov 19, 2024
b78fd55
[BOT] post-merge updates
OCA-git-bot Nov 19, 2024
c93505b
Update translation files
weblate Nov 19, 2024
114a454
Translated using Weblate (Italian)
mymage Nov 21, 2024
ee18929
Translated using Weblate (Portuguese (Brazil))
SottomaiorMacedoTec Dec 19, 2024
55a56f5
[IMP] mail_show_follower: pre-commit auto fixes
ArnauCForgeFlow Jan 31, 2025
cf456b4
[MIG] mail_show_follower: Migration to 17.0
ArnauCForgeFlow Jan 31, 2025
659f1fc
[UPD] Update mail_show_follower.pot
Feb 12, 2025
de01550
[BOT] post-merge updates
OCA-git-bot Feb 12, 2025
b5f6334
Update translation files
weblate Feb 12, 2025
afbd35e
[MIG] mail_show_follower: Migration to 18.0
ArnauCForgeFlow Feb 13, 2025
40147cb
[FIX] mail_show_follower: Company identification in _send()
nobuQuartile Mar 19, 2025
1fa7894
[UPD] Update mail_show_follower.pot
Jul 15, 2025
ba5247c
[BOT] post-merge updates
OCA-git-bot Jul 15, 2025
f213249
Translated using Weblate (Italian)
mymage Jul 22, 2025
630921d
[IMP]mail_show_follower: Allow using records in mail.mail._build_cc_text
david-banon-tecnativa Sep 26, 2025
a4bf4ac
[BOT] post-merge updates
OCA-git-bot Sep 26, 2025
2bc7c7b
Translated using Weblate (French)
jguenat Oct 21, 2025
47c13ba
Added translation using Weblate (Catalan)
RicardCForgeFlow Dec 11, 2025
1e77a10
Translated using Weblate (Catalan)
RicardCForgeFlow Dec 11, 2025
1f54ffe
[18.0][FIX] mail_show_follower: handle case where record no longer ex…
kevinkhao Jan 8, 2026
7e00dc0
[BOT] post-merge updates
OCA-git-bot Jan 9, 2026
6978b5b
Added translation using Weblate (German)
mjdreher Apr 9, 2026
25a11d6
Translated using Weblate (German)
mjdreher Apr 9, 2026
bd979fb
Translated using Weblate (Spanish)
Ed-Spain May 7, 2026
e487bbe
[MIG] mail_show_follower: Migration to 19.0
apik-mgu May 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 124 additions & 0 deletions mail_show_follower/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==================
Mail Show Follower
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b0a35ebc852bd0d0d6400999f878c904a998f8230d0fcfb1cdf105ce1e7abba3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/license-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/19.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-19-0/mail-19-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=19.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/Mail/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/Mail/Show Followers on mails/Text 'Sent to' and
set the initial part of the message.
4. Go General settings/Mail/Show Followers on mails/Partner format and
choose desired fields to show on CC recipients.
5. Go General settings/Mail/Show Followers on mails/Text 'Replies' and
choose desired warn message
6. Go General settings/Mail/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 <https://github.com/OCA/mail/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 <https://github.com/OCA/mail/issues/new?body=module:%20mail_show_follower%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Sygel
* Moduon

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

- Valentin Vinagre <valentin.vinagre@sygel.es>
- Lorenzo Battistini
- Eduardo de Miguel <edu@moduon.team>
- Vincent Van Rossem <vincent.vanrossem@camptocamp.com>
- Michel Guiheneuf <mgu@apik.cloud>

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 <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-yajo|

This module is part of the `OCA/mail <https://github.com/OCA/mail/tree/19.0/mail_show_follower>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions mail_show_follower/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
22 changes: 22 additions & 0 deletions mail_show_follower/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2020 Valentin Vinagre <valentin.vinagre@sygel.es>
# Copyright 2022 Eduardo de Miguel <edu@moduon.team>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Mail Show Follower",
"summary": "Show CC document followers in mails.",
"version": "19.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",
],
}
9 changes: 9 additions & 0 deletions mail_show_follower/data/config_parameter_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="models_to_exclude_config_parameter" model="ir.config_parameter">
<field name="key">show_followers.models_to_exclude</field>
<field
name="value"
>blog.blog,blog.post,slide.slide,slide.channel,forum.forum,forum.post</field>
</record>
</odoo>
157 changes: 157 additions & 0 deletions mail_show_follower/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -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 18.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-12-11 09:15+0000\n"
"Last-Translator: Ricard <ricard.calvo@forgeflow.com>\n"
"Language-Team: none\n"
"Language: ca\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.10.4\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 "%(partner_email)s = Correu electrònic de l'empresa"

#. 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 "%(partner_email_domain)s = Domini de correu electrònic de l'empresa"

#. 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 "%(partner_name)s = Nom de l'empresa"

#. module: mail_show_follower
#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form
msgid "<strong>Supported parameters:</strong>"
msgstr "<strong>Paràmetres admesos:</strong>"

#. module: mail_show_follower
#: model:ir.model,name:mail_show_follower.model_res_company
msgid "Companies"
msgstr "Companyies"

#. module: mail_show_follower
#: model:ir.model,name:mail_show_follower.model_res_config_settings
msgid "Config Settings"
msgstr "Ajustos de configuració"

#. module: mail_show_follower
#: model:ir.model,name:mail_show_follower.model_res_partner
msgid "Contact"
msgstr "Contacte"

#. 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 prèvia del missatge"

#. module: mail_show_follower
#: model_terms:ir.ui.view,arch_db:mail_show_follower.res_config_settings_view_form
msgid "Models to exclude"
msgstr "Models a excloure"

#. 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 ""
"Avís: Les respostes a aquest correu electrònic s'enviaran a tots els "
"destinataris."

#. module: mail_show_follower
#: model:ir.model,name:mail_show_follower.model_mail_mail
msgid "Outgoing Mails"
msgstr "Correus sortints"

#. 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 "Format de l'empresa"

#. 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 Models de Seguidors a Excloure"

#. 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 seguidors als correus"

#. 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 Usuaris Interns 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 Usuaris Interns a 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 a 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àmetres admesos:\n"
"%(partner_name)s = Nom de l'empresa\n"
"%(partner_email)s = Correu electrònic de l'empresa\n"
"%(partner_email_domain)s = Domini de correu electrònic de l'empresa"

#. 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 "Noms tècnics de model separats per comes"

#. 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 "Text 'Respostes'"

#. 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 "Text 'Enviat 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 "Aquest missatge ha estat enviat a"

#. module: mail_show_follower
#: model:ir.model,name:mail_show_follower.model_res_users
msgid "User"
msgstr "Usuari"

#. 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"
Loading
Loading