Commit Graph
13 Commits
Author SHA1 Message Date
Cédric Krier 74ee169c54 Refactor of trytond.config to add cache
This removes the need to store configuration in global variable and so make it
easier to update for example for testing.

Closes #14249
2025-10-07 08:19:57 +02:00
Cédric Krier 380f7c6941 Slugify filename of email attachment
This gives more chance for the email to not be blocked as some mail server
implement restrictions on the filename of attachment.

Closes #14074
2025-06-15 12:19:39 +02:00
Cédric Krier 686c3eff35 Test on_change_notification_email of trigger 2025-05-12 00:10:33 +02:00
Cédric Krier 5041a85ef6 Update on_* field of trigger in tests
Since bc7e074fc4d9 the fields of trigger has been suffixed with an '_'.
2025-04-07 00:30:35 +02:00
Nicolas Évrard cbdad75620 Remove old-style of super() calls 2025-04-04 00:45:18 +02:00
Cédric Krier 27e589ccd7 Do not set empty To, Cc nor Bcc in email message
Since gh-102988, email.utils.getaddresses() return [('', '')] for invalid email
addresses which includes empty string if the header is set with an empty list.

Closes #13649
2024-11-18 08:44:57 +01:00
Cédric Krier 7449eda49c Rename ir.model 'model' field into 'name' 2024-11-16 21:17:55 +01:00
Cédric Krier cd3395b233 Add email constructor from message 2024-02-21 21:43:50 +01:00
Cédric Krier 3cc0bb6c15 Add send_message methods to sendmail
Closes #13048
2024-02-21 21:38:53 +01:00
Cédric Krier b60f0b7044 Store model name on ir.model.field 2024-02-23 18:40:52 +01:00
Cédric Krier 25b8316733 Use EmailMessage to construct emails
Closes #12958
2024-01-25 16:04:05 +01:00
Cédric Krier 0440145051 Merge notification email logs into email archives 2023-02-09 18:50:05 +01:00
Cédric Krier 297396a962 Prepare migration to monorepo 2022-12-16 18:06:34 +01:00