Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] mail_show_follower: Migration to 18.0 #34

Open
wants to merge 46 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
7e76d4a
ADD mail_show_follower copied from https://github.com/sygel-technolog…
ValentinVinagre May 17, 2021
17299ef
IMP mail_show_follower metadata and style
eLBati May 17, 2021
c952a9f
[UPD] Update mail_show_follower.pot
oca-travis Jul 5, 2021
bf0abe6
[UPD] README.rst
OCA-git-bot Jul 5, 2021
1e2fc2f
Translated using Weblate (French)
ypapouin Jan 19, 2022
2673e8d
FIX mail_show_follower: ValueError: Expected singleton: res.users
eLBati Oct 15, 2021
074236f
[12.0][mail_show_follower] Update version
rafaelbn Feb 28, 2022
4cf8a53
[IMP] mail_show_follower: black, isort, prettier
Shide Mar 11, 2022
058c70d
[MIG] mail_show_follower: Migration to 15.0
Shide Mar 11, 2022
907db23
[UPD] Update mail_show_follower.pot
Mar 16, 2022
13635e7
[ADD] Customize notification appearance
Shide Mar 18, 2022
4254c05
mail_show_follower 15.0.1.2.0
OCA-git-bot Mar 28, 2022
044f362
[FIX] Add recipients of the all related messages on the notification
Shide Apr 7, 2022
8ed7bd5
mail_show_follower 15.0.1.2.1
OCA-git-bot Apr 8, 2022
8d9916e
[FIX] mail_show_follower: failure when partner has more than 1 user
yajo Dec 2, 2022
3132ecc
[BUILD] mail_show_follower: adopt module
yajo Dec 2, 2022
9bd636a
mail_show_follower 15.0.1.2.2
OCA-git-bot Dec 2, 2022
b313878
[MIG] mail_show_follower: Migration to 16.0
bosd Apr 20, 2023
267d0c5
[UPD] Update mail_show_follower.pot
Sep 22, 2023
b007a12
[BOT] post-merge updates
OCA-git-bot Sep 22, 2023
a36f9cb
Update translation files
weblate Sep 22, 2023
872d9d6
Added translation using Weblate (Spanish)
Ivorra78 Nov 8, 2023
c2c7c1d
Added translation using Weblate (Italian)
mymage Nov 30, 2023
2590597
Added translation using Weblate (Portuguese (Brazil))
adrianojprado Dec 28, 2023
66bde5d
[16.0][FIX][REF] mail_show_follower: internal notes
vvrossem Jun 10, 2024
1a00cda
fixup! [16.0][FIX][REF] mail_show_follower: internal notes
vvrossem Jun 24, 2024
8b1ee9e
[UPD] Update mail_show_follower.pot
Jul 10, 2024
8a47244
[BOT] post-merge updates
OCA-git-bot Jul 10, 2024
de1342d
Update translation files
weblate Jul 10, 2024
8fc405a
Translated using Weblate (Portuguese (Brazil))
SottomaiorMacedoTec Jul 10, 2024
bdfa954
Translated using Weblate (Italian)
mymage Jul 15, 2024
052ae6c
[FIX] mail_show_follower: Use company from the document to render mes…
carlos-lopez-tecnativa Nov 4, 2024
f353dd5
[BOT] post-merge updates
OCA-git-bot Nov 5, 2024
18889d0
[IMP] mail_show_follower: Add an option to exclude specific models fr…
carlos-lopez-tecnativa Oct 29, 2024
90e2794
[FIX] mail_show_follower: More models to exclude
pedrobaeza Nov 11, 2024
cb9fdf6
[UPD] Update mail_show_follower.pot
Nov 19, 2024
2a8d4b5
[BOT] post-merge updates
OCA-git-bot Nov 19, 2024
9b357de
Update translation files
weblate Nov 19, 2024
f7b9633
Translated using Weblate (Italian)
mymage Nov 21, 2024
232a2eb
Translated using Weblate (Portuguese (Brazil))
SottomaiorMacedoTec Dec 19, 2024
4776e44
[IMP] mail_show_follower: pre-commit auto fixes
ArnauCForgeFlow Jan 31, 2025
4bfa371
[MIG] mail_show_follower: Migration to 17.0
ArnauCForgeFlow Jan 31, 2025
bb3b67c
[UPD] Update mail_show_follower.pot
Feb 12, 2025
950beb7
[BOT] post-merge updates
OCA-git-bot Feb 12, 2025
cda0e05
Update translation files
weblate Feb 12, 2025
3d7cace
[MIG] mail_show_follower: Migration to 18.0
ArnauCForgeFlow Feb 13, 2025
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
119 changes: 119 additions & 0 deletions mail_show_follower/README.rst
Original file line number Diff line number Diff line change
@@ -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 <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:%2018.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 <[email protected]>
- Lorenzo Battistini
- Eduardo de Miguel <[email protected]>
- Vincent Van Rossem <[email protected]>

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/18.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 <[email protected]>
# Copyright 2022 Eduardo de Miguel <[email protected]>
# 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",
],
}
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/es.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 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-08 13:36+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\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 "<strong>Supported parameters:</strong>"
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 ""
Loading