Skip to content

[19.0][MIG] website_sale_wishlist_keep: Migration to version 19.0 - #1291

Open
cristina-hidalgo-tecnativa wants to merge 20 commits into
OCA:19.0from
Tecnativa:19.0-mig-website_sale_wishlist_keep
Open

[19.0][MIG] website_sale_wishlist_keep: Migration to version 19.0#1291
cristina-hidalgo-tecnativa wants to merge 20 commits into
OCA:19.0from
Tecnativa:19.0-mig-website_sale_wishlist_keep

Conversation

@cristina-hidalgo-tecnativa

Copy link
Copy Markdown

Odoo 19 removed the #b2b_wish checkbox and its JS logic from website_sale_wishlist; adding a product to cart from the wishlist now always removes it, with no built-in option. This module reimplements the "keep in wishlist" behavior:

  • Add JS patch on ProductWishlist.addToCart to skip removal from the wishlist when enabled.
  • Replace the #b2b_wish checkbox override with a data-keep-wishlist marker on the wishlist page.
  • Move the toggle from the old Customize tab to the new Style tab (Wishlist Page section).
  • Update tour and tests accordingly.

@Tecnativa TT64171
@pedrobaeza @pilarvargas-tecnativa

@OCA-git-bot OCA-git-bot added series:19.0 mod:website_sale_wishlist_keep Module website_sale_wishlist_keep labels Aug 18, 2026
@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot migration website_sale_wishlist_keep

@cristina-hidalgo-tecnativa
cristina-hidalgo-tecnativa force-pushed the 19.0-mig-website_sale_wishlist_keep branch 2 times, most recently from e184fa4 to 8384683 Compare August 18, 2026 07:58

@Andrii9090-tecnativa Andrii9090-tecnativa left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, test on runboat 👍

@pilarvargas-tecnativa pilarvargas-tecnativa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please restore the Odoo option in this module to how it was in previous versions

@pedrobaeza

Copy link
Copy Markdown
Member

Use odoo/odoo@b414047 as reference

@adasatorres-tecnativa adasatorres-tecnativa left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Code review and functionality testing on Runboat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:website_sale_wishlist_keep Module website_sale_wishlist_keep series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.