TIP: You can type at any time to perform a new search.
eCommerce Optional Products
website_sale_options · odoo/odoo
- 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)
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/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_idsMany2many → product.templatehelp='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'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
linked_line_idMany2one → sale.order.linedomain="[('order_id', '!=', order_id)]"ondelete='cascade'string='Linked Order Line' args: 'sale.order.line' -
option_line_idsOne2many → sale.order.linestring='Options Linked' args: 'sale.order.line', 'linked_line_id'
No public methods.
Loading…
Loading…
Loading…