Product Variant Route MTO
product_variant_route_mto · OCA/product-attribute
Health
70/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
2 models
1 view
0 HTTP endpoints
Description
This module allows to set a product variant as MTO (enabling the Make To Order route on that variant only) while the related product is not MTO. However, you cannot mark a variant has non MTO when the template is MTO.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_variant_easy_edit_view |
product.product.form.easy.inherit | product.product | form | Inherits product.product_variant_easy_edit_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (2)
-
is_mtoBooleancompute='_compute_is_mto'help=IS_MTO_HELPreadonly=Falsestore=Truestring='Variant is MTO' -
route_idsMany2many → stock.routecompute='_compute_route_ids'domain="[('product_selectable', '=', True)]"inverse='_inverse_route_ids'search='_search_route_ids'store=False args: 'stock.route'
No public methods.
New fields (0)
No new fields.
Public methods (3)-
create(self, vals_list)@api.model_create_multi -
onchange_route_ids(self)@api.onchange('route_ids') -
write(self, values)
Loading…