Commit Graph

3 Commits (bac73d64ae91a33151b1f1aef5e8e397bef19ed1)

Author SHA1 Message Date
Jairo Llopis 3d0ce338d0
[MIG+IMP] mail_post_defer: migrate to 16.0, allow editing messages
Rely on the new `mail.message.schedule` model and follow the rest of the refactor from https://github.com/odoo/odoo/pull/95623. FWIW this cron isn't strictly needed to run every minute, as it runs at the specific time automatically.

Follow refactors from https://github.com/odoo/odoo/pull/95500 and https://github.com/odoo/odoo/pull/79259 for the client.

Improve the module by allowing to edit messages, instead of just deleting them. This was simpler than splitting the edit and delete checks in the client-side.

@moduon MT-3088
2023-09-01 11:42:50 +01:00
Jairo Llopis 09f45faafd
[MIG] mail_post_defer: migrate to 16.0
Rely on the new `mail.message.schedule` model and follow the rest of the refactor from https://github.com/odoo/odoo/pull/95623.

@moduon MT-3088
2023-08-31 11:54:41 +01:00
Jairo Llopis 11d1699f9c
[ADD] mail_post_defer: deferred message posting with queue
- Faster because the email sending doesn't block the UI.
- Safer because users can undo mails while they're still not sent.

@moduon MT-1579 MT-2480
2023-08-24 12:25:51 +01:00