Allows to automatically cancel carts without activity after a configurable time.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Automatically cancels abandoned website carts after a configurable delay. Set the delay per website in Website settings; a scheduled job cancels expired draft orders and logs a message on them.
This module adds an automatic cleanup of abandoned online carts. In the Website settings, a new "Expire Carts" option lets you enter how many hours a cart can stay inactive before it is cancelled. The value is stored per website and defaults to 0, which disables the feature.
A scheduled job named "Website: Expire Carts" runs every 5 minutes. It looks for draft website orders whose last activity is older than the configured delay and cancels them, posting a "Cart expired" message in the order's chatter. Orders that have a payment transaction in pending, authorized or done state are skipped, so carts with an ongoing or completed payment are not cancelled.
The module extends sale.order with a technical field cart_expire_date that shows when a cart will expire, and extends website with the cart_expire_delay setting. It also adds the setting to the res.config.settings screen used by website configuration. No new menus are created; the option appears inside the existing Website settings form, after the abandoned carts setting.
Depends on
Models and fields (3)
- website · extends an existing modelcart_expire_delay (Expire Delay)
- sale.order · extends an existing modelcart_expire_date
- res.config.settings · extends an existing modelcart_expire_delay
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 7 confirmed, 2 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/e-commerce.
terminal Installation and usage
OCA documentation · Odoo 19.0Configuration
Source · Odoo 19.0Go to Website \> Settings and set a delay for Expire Carts settings.
No verified information in OCA: Installation, Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.