Commit Graph

8 Commits (ad24aa2f93cb20a3968b475458287b22c495549d)

Author SHA1 Message Date
Eduardo De Miguel 69345064b6
[FIX] mail_notification_custom_subject: Use same approach as Odoo when selecting subtype_id 2024-10-01 12:57:08 +02:00
Jairo Llopis 120237d630
[FIX] mail_notification_custom_subject: do not require being admin to send messages
After installing the module, any user was required to have admin rights to be able to search across models.

This fix does just that search with sudo and returns back to non-sudo mode immediately after. This way, we don't need to increase permissions for everybody.

Tests now run unprivileged, to assert this problem never happens again.

@moduon MT-1644 MT-1645
2024-10-01 12:57:07 +02:00
Víctor Martínez 8c6eed2727
[MIG] mail_notification_custom_subject: Migration to 15.0
TT36470
2024-10-01 12:57:07 +02:00
Olga Marco 7035abee2b
[FIX] mail_notification_custom_subject: Error modifying subtype_id
[IMP] update dotfiles [ci skip]
2024-10-01 12:57:07 +02:00
Naglis Jonaitis 1249a3e192
[MIG] mail_notification_custom_subject: Migration to 14.0 2024-10-01 12:57:06 +02:00
Naglis Jonaitis a2c651812f
[IMP] mail_notification_custom_subject: black, isort, prettier 2024-10-01 12:57:06 +02:00
Carlos Roca e5bc9035e4
[IMP] mail_notification_custom_subject: black, isort, prettier 2024-10-01 12:57:06 +02:00
João Marques 7eadcbd72a
[ADD] mail_notification_custom_subject: Apply a custom subject to mail notifications
This module allows you to specify templates to override the subject on the notification
emails sent by Odoo.

TT27191

Co-authored-by: Pedro M. Baeza <pedro.baeza@tecnativa.com>
2024-10-01 12:57:05 +02:00