Commit Graph

50 Commits (16.0)

Author SHA1 Message Date
OCA-git-bot cd3db85313 [BOT] post-merge updates 2025-03-18 12:16:32 +00:00
nobuQuartile 01b20b7393 [FIX] mail_show_follower: Company identification in _send()
Before this commit, 'Show Internal Users CC' would always be False,
regardless of the setting in the company, in case the message came
from a record with a company_id field but without a value assignment to
it (e.g., a partner record with no company), as company would be an
empty record.

This commit fixes the behavior by capturing company from self.env in
these cases.
2025-03-12 04:57:43 +00:00
Rodrigo Sottomaior Macedo c01fbf3872 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (21 of 21 strings)

Translation: social-16.0/social-16.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_show_follower/pt_BR/
2024-12-19 19:06:27 +00:00
mymage 8b76bf4855 Translated using Weblate (Italian)
Currently translated at 100.0% (21 of 21 strings)

Translation: social-16.0/social-16.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_show_follower/it/
2024-11-21 11:06:21 +00:00
Weblate 3ba6a27fc4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-16.0/social-16.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_show_follower/
2024-11-19 07:42:28 +00:00
OCA-git-bot 83755c5905 [BOT] post-merge updates 2024-11-19 07:42:21 +00:00
oca-ci 5baef77834 [UPD] Update mail_show_follower.pot 2024-11-19 07:37:38 +00:00
Pedro M. Baeza 0bba2190ad [FIX] mail_show_follower: More models to exclude
Slides and forums are also places where you don't want to show the recipients.
2024-11-15 02:59:27 +00:00
Carlos Lopez ad24aa2f93 [IMP] mail_show_follower: Add an option to exclude specific models from the CC note. 2024-11-15 02:21:40 +00:00
OCA-git-bot c7b3eee393 [BOT] post-merge updates 2024-11-05 07:58:18 +00:00
Carlos Lopez d298684306 [FIX] mail_show_follower: Use company from the document to render messages correctly + proper lang handle
In a multi-company environment, if one company uses the
show_followers_partner_format by partner_name and another company
uses partner_email, a user with permissions in both companies may
experience issues. If a document belongs to Company A, but the current
company is set to Company B, the message format is taken from the
current company (Company B) instead of the document’s company
(Company A). This fix ensures that the message format is rendered based
on the document's company.

It also fixes the lang handling for cases with False values.
2024-11-04 06:25:26 -05:00
mymage bdff80a86b Translated using Weblate (Italian)
Currently translated at 100.0% (17 of 17 strings)

Translation: social-16.0/social-16.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_show_follower/it/
2024-07-15 09:58:33 +00:00
Rodrigo Sottomaior Macedo 471f0f9d76 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (17 of 17 strings)

Translation: social-16.0/social-16.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_show_follower/pt_BR/
2024-07-10 18:58:30 +00:00
Weblate d6bf1f0899 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-16.0/social-16.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_show_follower/
2024-07-10 09:13:59 +00:00
OCA-git-bot 7f4afd94b6 [BOT] post-merge updates 2024-07-10 09:13:51 +00:00
oca-ci 9de6091a29 [UPD] Update mail_show_follower.pot 2024-07-10 09:05:06 +00:00
Vincent Van Rossem fec04625b1 fixup! [16.0][FIX][REF] mail_show_follower: internal notes 2024-06-24 15:10:40 +02:00
Vincent Van Rossem 33cbb12a33 [16.0][FIX][REF] mail_show_follower: internal notes
This module aims to show the recipients of an email in the email header, but the previous implementation was not suitable for internal notes.

When **logging an internal note** with tagged users and/or partners, those specific recipients should be displayed
as well as the document's followers subscribed to this message subtype.

When **sending an email**, the recipients should be the document's followers.

This is achieved by using the union of `mail.mail`'s `recipient_ids` and `notified_partner_ids`.
2024-06-12 15:10:54 +02:00
Adriano Prado 37f95b7335 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (16 of 16 strings)

Translation: social-16.0/social-16.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_show_follower/pt_BR/
2023-12-28 21:23:17 +00:00
Adriano Prado 546d809fec Added translation using Weblate (Portuguese (Brazil)) 2023-12-28 19:54:29 +00:00
mymage 24ec1716a5 Translated using Weblate (Italian)
Currently translated at 100.0% (16 of 16 strings)

Translation: social-16.0/social-16.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_show_follower/it/
2023-12-07 16:33:56 +00:00
mymage 023c95178d Translated using Weblate (Italian)
Currently translated at 37.5% (6 of 16 strings)

Translation: social-16.0/social-16.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_show_follower/it/
2023-12-07 13:40:50 +00:00
mymage 142b2a1143 Translated using Weblate (Italian)
Currently translated at 25.0% (4 of 16 strings)

Translation: social-16.0/social-16.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_show_follower/it/
2023-12-07 13:37:28 +00:00
mymage 9f2100d8c8 Added translation using Weblate (Italian) 2023-11-30 21:09:25 +00:00
Ivorra78 882efa45b9 Translated using Weblate (Spanish)
Currently translated at 100.0% (16 of 16 strings)

Translation: social-16.0/social-16.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_show_follower/es/
2023-11-08 13:36:33 +00:00
Ivorra78 12522d0794 Translated using Weblate (Spanish)
Currently translated at 62.5% (10 of 16 strings)

Translation: social-16.0/social-16.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_show_follower/es/
2023-11-08 13:02:02 +00:00
Ivorra78 b197f9f43b Added translation using Weblate (Spanish) 2023-11-08 12:59:06 +00:00
Weblate f6a888ce87 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-16.0/social-16.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_show_follower/
2023-09-22 11:09:42 +00:00
OCA-git-bot f764894b46 [BOT] post-merge updates 2023-09-22 08:55:50 +00:00
oca-ci 53be78c512 [UPD] Update mail_show_follower.pot 2023-09-22 08:52:29 +00:00
bosd 99696d1ed4 [MIG] mail_show_follower: Migration to 16.0 2023-09-21 07:53:31 +02:00
OCA-git-bot ba4fce594e mail_show_follower 15.0.1.2.2 2023-09-21 07:53:31 +02:00
Jairo Llopis 55075f5825 [BUILD] mail_show_follower: adopt module 2023-09-21 07:53:31 +02:00
Jairo Llopis fa29d05151 [FIX] mail_show_follower: failure when partner has more than 1 user
In the highly improbable but actually possible and real world case that a partner has more than one user associated, this change makes the emails able to send.

@moduon MT-1634
2023-09-21 07:53:31 +02:00
OCA-git-bot 86a20896bf mail_show_follower 15.0.1.2.1 2023-09-21 07:53:31 +02:00
Eduardo De Miguel b4a223a357 [FIX] Add recipients of the all related messages on the notification
When using composer, doesn't include all recipients of the message on the notification.
2023-09-21 07:53:31 +02:00
OCA-git-bot e609c74f2d mail_show_follower 15.0.1.2.0 2023-09-21 07:53:31 +02:00
Eduardo De Miguel cd1ca9c5bb [ADD] Customize notification appearance
Added settings to customize notification and translations to important parts of the message.

[FIX] Security fixes and simplified customization

Field `show_followers_partner_format` formatted with %(param)s
Removed CSS customizations

[FIX] README options

[FIX] Index.html configure

[FIX] Several changes

- Removed unnecesary properties on res_config_settings
- Markup safe on partner_format
- Use email_domain_extract instead own one
2023-09-21 07:53:31 +02:00
oca-ci fcde0aa0e3 [UPD] Update mail_show_follower.pot 2023-09-21 07:53:31 +02:00
Eduardo De Miguel 6fe60c5dbb [MIG] mail_show_follower: Migration to 15.0
[REF] Compact comment
2023-09-21 07:53:31 +02:00
Eduardo De Miguel 19a7014124 [IMP] mail_show_follower: black, isort, prettier 2023-09-21 07:53:31 +02:00
Rafael Blasco 74f587f080 Update mail_show_follower/__manifest__.py
Co-authored-by: Miquel Raïch <miquel.raich@eficent.com>
2023-09-21 07:53:31 +02:00
Rafael Blasco 30eb91c96c [12.0][mail_show_follower] Update version
As commented in https://github.com/OCA/social/pull/788 the PR should be merged manually but we should update the version of the module as a minor update

cc @ValentinVinagre @eLBati @MiquelRForgeFlow @HaraldPanten
2023-09-21 07:53:31 +02:00
eLBati de9b0fc010 FIX mail_show_follower: ValueError: Expected singleton: res.users 2023-09-21 07:53:30 +02:00
Yann Papouin aec12419fb Translated using Weblate (French)
Currently translated at 100.0% (7 of 7 strings)

Translation: social-12.0/social-12.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_show_follower/fr/
2023-09-21 07:53:30 +02:00
OCA-git-bot 27a24722aa [ADD] icon.png 2023-09-21 07:53:30 +02:00
OCA-git-bot 9c4f699cad [UPD] README.rst 2023-09-21 07:53:30 +02:00
oca-travis e3a25f2eb5 [UPD] Update mail_show_follower.pot 2023-09-21 07:53:30 +02:00
eLBati 5b4b12ec48 IMP mail_show_follower metadata and style
Display CC according to notification_type
2023-09-21 07:53:30 +02:00
Valentin Vinagre Urteaga e26b82eab5 ADD mail_show_follower copied from https://github.com/sygel-technology/sy-server-backend/tree/12.0/mail_show_follower 2023-09-21 07:53:30 +02:00