Commit Graph

8 Commits

Author SHA1 Message Date
Jairo Llopis
ba8cf6ec7a
[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
2022-12-02 08:57:08 +00:00
Víctor Martínez
38638654fc [MIG] mail_notification_custom_subject: Migration to 15.0
TT36470
2022-10-25 08:06:44 +02:00
Naglis Jonaitis
14cc2d99be [MIG] mail_notification_custom_subject: Migration to 14.0 2022-10-19 12:40:22 +02:00
Naglis Jonaitis
d5f0d97a9d [IMP] mail_notification_custom_subject: black, isort, prettier 2022-10-19 12:40:22 +02:00
Víctor Martínez
51c4d08122 [IMP] mail_notification_custom_subject: Add comment to explain test_bad_template_does_not_break test 2022-10-19 12:40:22 +02:00
Carlos Roca
7b747ffd95 [MIG] mail_notification_custom_subject: Migration to v13.0 2022-10-19 12:40:22 +02:00
Carlos Roca
1bb5aee507 [IMP] mail_notification_custom_subject: black, isort, prettier 2022-10-19 12:40:22 +02:00
João Marques
586be98e65 [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>
2022-10-19 12:40:22 +02:00