Skip to content
Health
70/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by15/25
    1 module depends on it
  • Maturity5/25
    In 1 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
OCA/product-attribute:
OCA/stock-logistics-warehouse:
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
stock_orderpoint_variant_mto_as_mts

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
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_mto Boolean
    compute='_compute_is_mto' help=IS_MTO_HELP readonly=False store=True string='Variant is MTO'
  • route_ids Many2many → stock.route
    compute='_compute_route_ids' domain="[('product_selectable', '=', True)]" inverse='_inverse_route_ids' search='_search_route_ids' store=False args: 'stock.route'
Public methods (0)

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…