Products Wishlist

website_sale_wishlist
REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/10.0/website_sale_wishlist
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, Jairo Llopis, OCA Transbot, oca-travis, Weblate, David, reinka
WEBSITE
WEBSITEhttps://tecnativa.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - web
    - base
    - web_editor
    - web_planner
    - sale
    - sales_team
    - mail
    - base_setup
    - web_kanban
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - procurement
    - payment
    - website_payment
    - website_portal
    - website_portal_sale
    - portal_sale
    - portal
    - auth_signup
    - website_mail
    - website_form
    - rating
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (12)
XML IDNameModelTypeStatus
assets_frontend assets_frontend ir.ui.view qweb Inherits website.assets_frontend
assets_frontend_demo assets_frontend_demo ir.ui.view qweb Inherits website.assets_frontend
header Wishlist Menu ir.ui.view qweb Inherits website_sale.header
heart Heart Icon ir.ui.view qweb New
hidden_wishlist_only_input Hidden Wishlist Input to Preserve Filters ir.ui.view qweb New
menu Wishlist Menu ir.ui.view qweb New
product_add_to_wishlist Add to Wishlist From Form ir.ui.view qweb Inherits website_sale.product
product_toggle Add to Wishlist Widget ir.ui.view qweb New
products Enable Wishlist in Shop ir.ui.view qweb Inherits website_sale.products
products_add_to_wishlist Add to Wishlist From List ir.ui.view qweb Inherits website_sale.products_item
products_attributes Preserve Wishlist Filter When Choosing Attributes ir.ui.view qweb Inherits website_sale.products_attributes
search Preserve Wishlist Filter When Searching ir.ui.view qweb Inherits website_sale.search
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • wishlisted(self)
    @api.multi@tools.ormcache('self.ids', 'self.env.uid', 'self.env.user.current_session')
    Check if all products are wishlisted in current session.

New fields (4)
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' help='Wishlisted product.' ondelete='cascade' required=True string='Product'
  • session Char
    default=<expr> help='Website session identifier where this product was wishlisted.'
  • user_id Many2one → res.users
    comodel_name='res.users' default=<expr> help='User that wishlisted this product.' ondelete='cascade' string='User'
  • website_id Many2one → website
    comodel_name='website' default=<expr> help='Website where the user wishlisted the product.' ondelete='cascade' required=True string='Website'
Public methods (3)
  • create(self, vals)
    @api.model
  • unlink(self)
    @api.multi
  • write(self, vals)
    @api.multi

New fields (1)
  • current_session Char
    compute='_compute_current_session'
Public methods (1)
  • check_credentials(self, password)
    @api.model
    Make all this session's wishlists belong to its owner user.

New fields (0)

No new fields.

Public methods (2)
  • wishlist_product_ids(self)
    @api.multi@tools.ormcache('self.ids', 'self.env.uid', 'self.env.user.current_session')
    Get wishlisted products for current session. :return list: List of IDs. Not returning records because they could lead to errors if you try to browse them when loaded from cache and cached ones used a cursor that is now closed.
  • wishlisted_product_template_ids(self)
    @api.multi@tools.ormcache('self.ids', 'self.env.uid', 'self.env.user.current_session')
    Get ``product.template`` records wishlisted in current session. :return list: List of IDs. Not returning records because they could lead to errors if you try to browse them when loaded from cache and cached ones used a cursor that is now closed.
REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/9.0/website_sale_wishlist
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, Jairo Llopis, OCA Transbot
WEBSITE
WEBSITEhttps://tecnativa.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - web
    - base
    - web_editor
    - web_planner
    - sale
    - sales_team
    - mail
    - base_setup
    - web_kanban
    - bus
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_tip
    - procurement
    - payment
    - website_payment
    - website_portal
    - website_portal_sale
    - website_mail
    - rating
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (12)
XML IDNameModelTypeStatus
assets_frontend assets_frontend ir.ui.view qweb Inherits website.assets_frontend
assets_frontend_demo assets_frontend_demo ir.ui.view qweb Inherits website.assets_frontend
header Wishlist Menu ir.ui.view qweb Inherits website_sale.header
heart Heart Icon ir.ui.view qweb New
hidden_wishlist_only_input Hidden Wishlist Input to Preserve Filters ir.ui.view qweb New
menu Wishlist Menu ir.ui.view qweb New
product_add_to_wishlist Add to Wishlist From Form ir.ui.view qweb Inherits website_sale.product
product_toggle Add to Wishlist Widget ir.ui.view qweb New
products Enable Wishlist in Shop ir.ui.view qweb Inherits website_sale.products
products_add_to_wishlist Add to Wishlist From List ir.ui.view qweb Inherits website_sale.products_item
products_attributes Preserve Wishlist Filter When Choosing Attributes ir.ui.view qweb Inherits website_sale.products_attributes
search Preserve Wishlist Filter When Searching ir.ui.view qweb Inherits website_sale.search
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • wishlisted(self)
    @api.multi@tools.ormcache('self.ids', 'self.env.uid', 'self.env.user.current_session')
    Check if all products are wishlisted in current session.

New fields (4)
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' help='Wishlisted product.' ondelete='cascade' required=True string='Product'
  • session Char
    default=<expr> help='Website session identifier where this product was wishlisted.'
  • user_id Many2one → res.users
    comodel_name='res.users' default=<expr> help='User that wishlisted this product.' ondelete='cascade' string='User'
  • website_id Many2one → website
    comodel_name='website' default=<expr> help='Website where the user wishlisted the product.' ondelete='cascade' required=True string='Website'
Public methods (3)
  • create(self, vals)
    @api.model
  • unlink(self)
    @api.multi
  • write(self, vals)
    @api.multi

New fields (1)
  • current_session Char
    compute='_compute_current_session'
Public methods (1)
  • check_credentials(self, password)
    @api.model
    Make all this session's wishlists belong to its owner user.

New fields (0)

No new fields.

Public methods (2)
  • wishlist_product_ids(self)
    @api.multi@tools.ormcache('self.ids', 'self.env.uid', 'self.env.user.current_session')
    Get wishlisted products for current session. :return list: List of IDs. Not returning records because they could lead to errors if you try to browse them when loaded from cache and cached ones used a cursor that is now closed.
  • wishlisted_product_template_ids(self)
    @api.multi@tools.ormcache('self.ids', 'self.env.uid', 'self.env.user.current_session')
    Get ``product.template`` records wishlisted in current session. :return list: List of IDs. Not returning records because they could lead to errors if you try to browse them when loaded from cache and cached ones used a cursor that is now closed.