OdooWiki OCA HUB

Website Sales Wishlist Archive Cron

website_sale_wishlist_archive_cron folder_open OCA/e-commerce open_in_new
Website License: AGPL-3

This module introduces a scheduled action record that archives wishlist items associated with inactive (archived) products.

Background:

The default behavior in vanilla Odoo for archived products is as follows:

  • Existing wishlist items for the product remain unaffected (they persist in the wishlist).
  • When a customer attempts to add the item to their cart, it vanishes from the wishlist and the cart remains unchanged.

This behavior can be confusing and may result in customer dissatisfaction.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Automatically archives wishlist entries that point to products that have been archived, so customers no longer see confusing leftover wishlist items for products you no longer sell.

This module adds a daily scheduled action to Odoo that cleans up customer wishlists. It works on the wishlist records used by the Website Sales Wishlist feature (product.wishlist).

Every day, the scheduled job looks at all wishlist entries that are still active and checks the product behind each one. If that product has been archived (no longer active), the wishlist entry is archived too, so it disappears from the customer's wishlist.

  • It only touches wishlist entries whose product is archived; entries for products still on sale are left untouched.
  • It runs automatically once a day, with no limit on the number of runs.
  • No new menus or screens are added; the change is visible in the wishlist itself, where archived-product entries no longer appear.

This avoids the confusing situation where a customer sees an item in their wishlist, tries to add it to the cart, and the item silently disappears without being added. By removing those entries in advance, the wishlist stays consistent with the products you actually sell.

The module depends on the Website Sales Wishlist module and only extends the wishlist model; it does not change products, carts, or orders.

Depends on

website_sale_wishlist

Text generated by AI (DeepSeek) from reading the Odoo 15.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 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

No verified information

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.

info

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.