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.
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`.
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
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