- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][IMP] mail_post_defer: Add notes to readme #1616
base: 16.0
Are you sure you want to change the base?
Conversation
Hi @yajo, |
mail_post_defer/readme/CONFIGURE.rst
Outdated
To ensure that messages are sent as expected, make sure that "Notification: Send | ||
scheduled message notifications" (mail.ir_cron_send_scheduled_message) is enabled. | ||
Odoo can usually send the emails even if this scheduled action is disabled, but | ||
with this module installed, the emails will not be sent unless it is enabled. | ||
|
||
#. Go to *Settings > Technical > Automation > Scheduled Actions*. | ||
#. If "Notification: Send Scheduled Message Notifications" is not active, enable it. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid introducing a new topic while explaining another.
To ensure that messages are sent as expected, make sure that "Notification: Send | |
scheduled message notifications" (mail.ir_cron_send_scheduled_message) is enabled. | |
Odoo can usually send the emails even if this scheduled action is disabled, but | |
with this module installed, the emails will not be sent unless it is enabled. | |
#. Go to *Settings > Technical > Automation > Scheduled Actions*. | |
#. If "Notification: Send Scheduled Message Notifications" is not active, enable it. |
Instead, update the first sentence as follows:
You usually don't need to do anything. The module is configured appropriately out of the box. Just make sure the following server actions are active:
- Mail: Email Queue Manager (mail.ir_cron_mail_scheduler_action)
- Notification: Send scheduled message notifications (mail.ir_cron_send_scheduled_message)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
8f2defe
to
9e0d2f5
Compare
9e0d2f5
to
69ef92c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@qrtl
QT4601
We encounter an issue where scheduled messages are not sent because the cron job "Notification: Send scheduled message notifications" (mail.ir_cron_send_scheduled_message) is inactive.
The cron record is triggered here:
https://github.com/OCA/OCB/blob/16.0/addons/mail/models/mail_message_schedule.py#L39
and it's ignored if not active:
https://github.com/OCA/OCB/blob/16.0/odoo/addons/base/models/ir_cron.py#L486C9-L492C67