Files
odoo_source/addons/sale_async_emails/__manifest__.py
T
Antoine Vandevenne (anv) f0016849c1 [ADD] sale_async_emails: allow sending order status emails asynchronously
This commit adds a new module to allow delaying the sending of sales
order confirmation emails, thus removing a performance bottleneck in the
order confirmation flow.

This is particularly useful for "flash" sales in which a large number of
event tickets are sold in a very short time span. When the emails are
scheduled to be sent right away, the email rendering that is part of the
payment post-processing keeps the worker busy. When the system parameter
`sale.async_emails` is set to `True`, the email rendering is delegated
to a cron, allowing the payment post-processing to execute much faster.

task-3782827

closes odoo/odoo#157612

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-04-15 16:21:47 +00:00

15 lines
370 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': "Sales - Async Emails",
'category': 'Sales/Sales',
'summary': "Send order status emails asynchronously",
'depends': ['sale'],
'data': [
'data/ir_config_parameter.xml',
'data/ir_cron.xml',
],
'auto_install': True,
'license': 'LGPL-3',
}