Repository
odoo/odoo · module folder
Module version
1.0
Category
Website
Folder size
0.45 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://www.odoo.com/page/e-commerce
Last tracking update
2026-08-07 05:03:18
Authors
Maintainers
None
Committers
Xavier Morel, Olivier Dony, Christophe Simonis, Martin Trigaux, Odoo Translation Bot, Nicolas Martinelli, Nicolas Lempereur, Jeremy Kersten, GitHub, Lucas Perais (lpe), Yannick Tivisse, qsm-odoo, Martin Geubelle, Odoo Online, Romain Derie, Denis Vermylen (dve)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
website_sale_stock_options
Description
Odoo E-Commerce
==================

        

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
assets_frontend Shop Product Options ir.ui.view qweb Inherits website.assets_frontend
modal Optional Products ir.ui.view qweb New
optional_products Optional products ir.ui.view qweb Inherits website_sale.cart_lines
product_template_form_view product.template.product.website.form product.template form Inherits website_sale.product_template_form_view
products_add_to_cart products_add_to_cart ir.ui.view qweb Inherits website_sale.products_add_to_cart
HTTP endpoints (3)
Route(s)HandlerAuthTypeMethodsFlags
/shop/cart/update_option WebsiteSaleOptions.cart_options_update_json public http POST website
/shop/modal WebsiteSaleOptions.modal public json POST website
/shop/product/<model("product.template"):product> WebsiteSaleOptions.product public http ALL website
Models touched (3)

New fields (1)
  • optional_product_ids Many2many → product.template
    help='Optional Products are suggested whenever the customer hits *Add to Cart* (cross-sell strategy, e.g. for computers: warranty, software, etc.).' string='Optional Products' args: 'product.template', 'product_optional_rel', 'src_id', 'dest_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • linked_line_id Many2one → sale.order.line
    domain="[('order_id', '!=', order_id)]" ondelete='cascade' string='Linked Order Line' args: 'sale.order.line'
  • option_line_ids One2many → sale.order.line
    string='Options Linked' args: 'sale.order.line', 'linked_line_id'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…