From 4f12606cd926a4d2abfefd09ee98bba50807bc71 Mon Sep 17 00:00:00 2001 From: "Antoine Vandevenne (anv)" Date: Wed, 12 Mar 2025 16:13:24 +0000 Subject: [PATCH] [FIX] ecommerce: require module install for email queue optimization In version 17.0 to 18.2, it is required to install the `sale_async_emails` module to enable the email queue optimization. This commit also rephrases slightly the step to enable the cron because it should already be enabled, unless the user disabled it manually. Indeed, the cron is created enabled in versions 17.0 to 18.2, while it is created disabled but automatically enabled when toggling the `sale.async_emails` system parameter. task-3872792 closes odoo/documentation#12410 X-original-commit: c7843cb38a5c4ad4fbe91355c95c79520036c5bf Signed-off-by: Audrey Vandromme (auva) Signed-off-by: Antoine Vandevenne (anv) --- .../websites/ecommerce/ecommerce_management/performance.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/applications/websites/ecommerce/ecommerce_management/performance.rst b/content/applications/websites/ecommerce/ecommerce_management/performance.rst index c2328b6aa..685613045 100644 --- a/content/applications/websites/ecommerce/ecommerce_management/performance.rst +++ b/content/applications/websites/ecommerce/ecommerce_management/performance.rst @@ -49,10 +49,12 @@ which sends queued emails as soon as possible. To enable asynchronous email sending: #. Enable the :doc:`developer mode `. +#. Go to :menuselection:`Apps`, remove the :guilabel:`Apps` filter, and install the :guilabel:`Sales + - Async Emails` module. #. Go to :menuselection:`Settings --> Technical --> System Parameters` and set the :guilabel:`sale.async_emails` system parameter to `True`. -#. Go to :menuselection:`Settings --> Technical --> Scheduled Actions` and enable the - :guilabel:`Sales: Send pending emails` scheduled action. +#. Go to :menuselection:`Settings --> Technical --> Scheduled Actions` and ensure that the + :guilabel:`Sales: Send pending emails` scheduled action is enabled. .. caution:: Enabling this feature may delay order confirmation and invoice emails by a few minutes. It is