Commit Graph

11 Commits (2ad83c5cb2dce73ca63a1ea7b0828c2bc3e15fcb)

Author SHA1 Message Date
maciej-wichowski fde4ba078a [MIG] mail_notification_custom_subject: migration to 17.0 2024-04-09 12:14:08 +02:00
maciej-wichowski f7b15d4e6f [IMP] mail_notification_custom_subject: pre-commit auto fixes 2024-04-09 11:46:14 +02:00
Eduardo De Miguel 44d8a03191 [FIX] mail_notification_custom_subject: Use same approach as Odoo when selecting subtype_id 2024-04-09 11:39:32 +02:00
Jairo Llopis c284bafbc1 [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-04-09 11:39:32 +02:00
Víctor Martínez 254dc57e44 [MIG] mail_notification_custom_subject: Migration to 15.0
TT36470
2024-04-09 11:39:32 +02:00
Olga Marco 3522215b51 [FIX] mail_notification_custom_subject: Error modifying subtype_id
[IMP] update dotfiles [ci skip]
2024-04-09 11:39:32 +02:00
Naglis Jonaitis 25c182822e [MIG] mail_notification_custom_subject: Migration to 14.0 2024-04-09 11:39:32 +02:00
Naglis Jonaitis 04734da384 [IMP] mail_notification_custom_subject: black, isort, prettier 2024-04-09 11:39:32 +02:00
Carlos Roca 6fd81dafca [MIG] mail_notification_custom_subject: Migration to v13.0 2024-04-09 11:39:32 +02:00
Carlos Roca cec4c079c5 [IMP] mail_notification_custom_subject: black, isort, prettier 2024-04-09 11:39:32 +02:00
João Marques 7e44259b35 [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-04-09 11:39:32 +02:00