Health
87/100
good
-
Security25/25No findings
-
Activity12/25Last human commit 19 months ago
-
Required by25/255 modules depend on it
-
Maturity25/25In 5 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
5
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.42 MB
Module directory on disk
Code analysis
0 migration notes
2 models
2 views
4 HTTP endpoints
Description
Technical module: The main purpose is to override the sale_order view to allow configuring products in the SO form.
It also enables the "optional products" feature.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- pos_sale_product_configurator, sale_product_configurator_widget_product_label, sale_product_matrix, test_sale_product_configurators, website_sale_product_configurator
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_view_form |
product.template.form.inherit.sale.product.configurator | product.template | form | Inherits product.product_template_form_view |
sale_order_view_form |
sale.order.form.inherit.sale.product.configurator | sale.order | form | Inherits sale.view_order_form |
HTTP endpoints 4
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/sale_product_configurator/get_values |
ProductConfiguratorController.get_product_configurator_values |
user | json | ALL | |
/sale_product_configurator/create_product |
ProductConfiguratorController.sale_product_configurator_create_product |
user | json | ALL | |
/sale_product_configurator/get_optional_products |
ProductConfiguratorController.sale_product_configurator_get_optional_products |
user | json | ALL | |
/sale_product_configurator/update_combination |
ProductConfiguratorController.sale_product_configurator_update_combination |
user | json | ALL |
Models touched 2
New fields (1)
-
optional_product_idsMany2many → product.templatecheck_company=Truecolumn1='src_id'column2='dest_id'comodel_name='product.template'help='Optional Products are suggested whenever the customer hits *Add to Cart* (cross-sell strategy, e.g. for computers: warranty, software, etc.).'relation='product_optional_rel'string='Optional Products'
-
get_single_product_variant(self)Method used by the product configurator to check if the product is configurable or not. We need to open the product configurator if the product: - is configurable (see has_configurable_attributes) - has optional products
New fields (2)
-
is_configurable_productBooleandepends=['product_id']related='product_template_id.has_configurable_attributes'string='Is the product configurable?' -
product_template_attribute_value_idsMany2manydepends=['product_id']related='product_id.product_template_attribute_value_ids'
No public methods.
Loading…
Loading…
Loading…
Loading…