Skip to content

Commit 124d554

Browse files
committed
[IMP] ecommerce: add instructions to enable deferred confirmation emails
The page title is renamed "Performance management" to fit its new, multipurpose content. task-3872792 closes #12385 X-original-commit: b0cc1ee Signed-off-by: Audrey Vandromme (auva) <[email protected]> Signed-off-by: Antoine Vandevenne (anv) <[email protected]>
1 parent 852ae05 commit 124d554

File tree

1 file changed

+27
-1
lines changed
  • content/applications/websites/ecommerce/ecommerce_management

1 file changed

+27
-1
lines changed

content/applications/websites/ecommerce/ecommerce_management/performance.rst

+27-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
======================
2-
Performance monitoring
2+
Performance management
33
======================
44

55
Odoo integrates a variety of tools to analyze and improve the performance of your eCommerce
@@ -32,3 +32,29 @@ Analytics
3232

3333
It is possible to link your Odoo website with :ref:`analytics/plausible` and
3434
:ref:`analytics/google-analytics`.
35+
36+
.. _ecommerce/performance/email_queue:
37+
38+
Email queue optimization
39+
========================
40+
41+
For websites handling flash sales (e.g., event ticket sales) or experiencing high traffic spikes,
42+
order confirmation emails can become a performance bottleneck, potentially slowing down the checkout
43+
process for other customers.
44+
45+
To improve performance, these emails can be queued and processed separately from the order
46+
confirmation flow. This is managed by the :guilabel:`Sales: Send pending emails` scheduled action,
47+
which sends queued emails as soon as possible.
48+
49+
To enable asynchronous email sending:
50+
51+
#. Enable the :doc:`developer mode </applications/general/developer_mode>`.
52+
#. Go to :menuselection:`Settings --> Technical --> System Parameters` and set the
53+
:guilabel:`sale.async_emails` system parameter to `True`.
54+
#. Go to :menuselection:`Settings --> Technical --> Scheduled Actions` and enable the
55+
:guilabel:`Sales: Send pending emails` scheduled action.
56+
57+
.. caution::
58+
Enabling this feature may delay order confirmation and invoice emails by a few minutes. It is
59+
recommended only for high-traffic websites, as it can introduce unnecessary delays for e-commerce
60+
websites with moderate traffic.

0 commit comments

Comments
 (0)