Repository
odoo/odoo · module folder
Module version
1.0
Category
Website/Website
Folder size
1.0 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-15 22:44:18
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Odoo Translation Bot, Nicolas Lempereur, Aaron Bohy, Géry Debongnie, Julien Castiaux, Victor Feyens, Tiffany Chang (tic), Gorash, roen-odoo, Nicolas Bayet, Antoine Vandevenne (anv), Valentin Chevalier, Victor Piryns (pivi), Levi Siuzdak (sile), Dylan Kiss (dyki), FrancoisGe, Louis (loti), Lina (liew), Chrysanthe (chgo), mano-odoo, Xavier Luyckx (xlu), Antoine (anso), Manushi Shah, Arib Ansari, Pierre Pulinckx (PIPU), Pierre Lamotte (pila), Pierre Pulinckx, Bastien PIERRE, Krzysztof Magusiak (krma), nipl-odoo, krip-odoo, Laetitia (ldau), dtda-odoo, Augustin (duau), romo, Alessandro Lupo, Nisarg (nipl), Julien (jdeh), chpa-odoo, Claire Nguyen (clan)
Odoo dependencies
Python dependencies
geoip2
System dependencies
None
Required by
test_website_modules, website_sale_collect_wishlist, website_sale_comparison_wishlist, website_sale_stock_wishlist
Description
Allow shoppers of your eCommerce store to create personalized collections of products they want to buy and save them for future reference.
    

Code Analysis

Views touched (19)
XML IDNameModelTypeStatus
header_hide_empty_wishlist_link header_hide_empty_wishlist_link ir.ui.view qweb Inherits website_sale_wishlist.header_wishlist_link
header_wishlist_link Header Wishlist Link ir.ui.view qweb New
product_cart_lines product_cart_lines ir.ui.view qweb Inherits website_sale.cart_lines
product_wishlist Wishlist Page ir.ui.view qweb New
template_header_boxed template_header_boxed ir.ui.view qweb Inherits website_sale.template_header_boxed
template_header_default template_header_default ir.ui.view qweb Inherits website_sale.template_header_default
template_header_hamburger template_header_hamburger ir.ui.view qweb Inherits website_sale.template_header_hamburger
template_header_mobile template_header_mobile ir.ui.view qweb Inherits website_sale.template_header_mobile
template_header_sales_four template_header_sales_four ir.ui.view qweb Inherits website_sale.template_header_sales_four
template_header_sales_one template_header_sales_one ir.ui.view qweb Inherits website_sale.template_header_sales_one
template_header_sales_three template_header_sales_three ir.ui.view qweb Inherits website_sale.template_header_sales_three
template_header_sales_two template_header_sales_two ir.ui.view qweb Inherits website_sale.template_header_sales_two
template_header_search template_header_search ir.ui.view qweb Inherits website_sale.template_header_search
template_header_sidebar template_header_sidebar ir.ui.view qweb Inherits website_sale.template_header_sidebar
template_header_stretch template_header_stretch ir.ui.view qweb Inherits website_sale.template_header_stretch
template_header_vertical template_header_vertical ir.ui.view qweb Inherits website_sale.template_header_vertical
website_sale_wishlist.add_to_wishlist Wishlist Button ir.ui.view qweb Inherits website_sale.shop_product_buttons
website_sale_wishlist.empty_wishlist_svg website_sale_wishlist.empty_wishlist_svg ir.ui.view qweb New
website_sale_wishlist.product_add_to_wishlist Wishlist Button ir.ui.view qweb Inherits website_sale.cta_wrapper
HTTP endpoints (5)
Route(s)HandlerAuthTypeMethodsFlags
(inherited route override) WebsiteSaleWishlist._change_website_config inherited http ALL
/shop/wishlist/add WebsiteSaleWishlist.add_to_wishlist public jsonrpc ALL sudo website
/shop/wishlist WebsiteSaleWishlist.get_wishlist public http ALL website
/shop/wishlist/remove/<int:wish_id> WebsiteSaleWishlist.remove_from_wishlist public jsonrpc ALL sudo website
/shop/wishlist/get_product_ids WebsiteSaleWishlist.shop_wishlist_get_product_ids public jsonrpc ALL website
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (7)
  • active Boolean
    default=True required=True
  • currency_id Many2one → res.currency
    readonly=True related='website_id.currency_id' args: 'res.currency'
  • partner_id Many2one → res.partner
    index='btree_not_null' string='Owner' args: 'res.partner'
  • price Monetary
    currency_field='currency_id' help='Price of the product when it has been added in the wishlist' string='Price'
  • pricelist_id Many2one → product.pricelist
    help='Pricelist when added' string='Pricelist' args: 'product.pricelist'
  • product_id Many2one → product.product
    required=True string='Product' args: 'product.product'
  • website_id Many2one → website
    ondelete='cascade' required=True args: 'website'
Public methods (1)
  • current(self)
    @api.model
    Get all wishlist items that belong to current user or session, filter products that are unpublished.

New fields (1)
  • wishlist_ids One2many → product.wishlist
    domain=[('active', '=', True)] string='Wishlist' args: 'product.wishlist', 'partner_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • wishlist_gap Char
    default='16px' help='Gap between products on the wishlist page' string='Wishlist Grid Gap'
  • wishlist_grid_columns Integer
    default=5 help='Number of columns to display on the wishlist page' string='Wishlist Grid Columns'
  • wishlist_mobile_columns Integer
    default=2 help='Number of columns to display on mobile for the wishlist page (1 or 2)' string='Wishlist Mobile Columns'
  • wishlist_opt_products_design_classes Char
    default='o_wsale_products_opt_layout_catalog o_wsale_products_opt_design_thumbs o_wsale_products_opt_name_color_regular o_wsale_products_opt_thumb_cover o_wsale_products_opt_img_secondary_show o_wsale_products_opt_img_hover_zoom_out_light o_wsale_products_opt_has_cta o_wsale_products_opt_actions_inline o_wsale_products_opt_has_description o_wsale_products_opt_actions_promote o_wsale_products_opt_cc1 ' help='CSS class for wishlist page design' string='Wishlist Page Design Class'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…