Commit Graph

9 Commits

Author SHA1 Message Date
Eduardo De Miguel
e373d416d5 [FIX] mail_notification_custom_subject: Use same approach as Odoo when selecting subtype_id 2022-12-14 11:32:59 +01:00
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
Olga Marco
4b5eeec844 [FIX] mail_notification_custom_subject: Error modifying subtype_id
[IMP] update dotfiles [ci skip]
2022-10-19 12:58:29 +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
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