Shopper's Wishlist
website_sale_wishlist · odoo/odoo
Merged into website_sale in 20.0
OCA/e-commerce 9.0–10.0 → odoo/odoo 11.0–19.0
Health
97/100
good
-
Security22/251 minor finding
-
Activity25/25Last human commit 2 months ago
-
Required by25/256 modules depend on it
-
Maturity25/25In 9 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
6
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
1.0 MB
Module directory on disk
Code analysis
0 migration notes
6 models
19 views
5 HTTP endpoints
Description
Allow shoppers of your eCommerce store to create personalized collections of products they want to buy and save them for future reference.
Dependencies
- 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, website_sale_wishlist_hide_price, website_sale_wishlist_keep
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 19
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (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)
-
activeBooleandefault=Truerequired=True -
currency_idMany2one → res.currencyreadonly=Truerelated='website_id.currency_id' args: 'res.currency' -
partner_idMany2one → res.partnerindex='btree_not_null'string='Owner' args: 'res.partner' -
priceMonetarycurrency_field='currency_id'help='Price of the product when it has been added in the wishlist'string='Price' -
pricelist_idMany2one → product.pricelisthelp='Pricelist when added'string='Pricelist' args: 'product.pricelist' -
product_idMany2one → product.productrequired=Truestring='Product' args: 'product.product' -
website_idMany2one → websiteondelete='cascade'required=True args: 'website'
-
current(self)@api.modelGet all wishlist items that belong to current user or session, filter products that are unpublished.
New fields (1)
-
wishlist_idsOne2many → product.wishlistdomain=[('active', '=', True)]string='Wishlist' args: 'product.wishlist', 'partner_id'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (4)
-
wishlist_gapChardefault='16px'help='Gap between products on the wishlist page'string='Wishlist Grid Gap' -
wishlist_grid_columnsIntegerdefault=5help='Number of columns to display on the wishlist page'string='Wishlist Grid Columns' -
wishlist_mobile_columnsIntegerdefault=2help='Number of columns to display on mobile for the wishlist page (1 or 2)'string='Wishlist Mobile Columns' -
wishlist_opt_products_design_classesChardefault='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'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…