OdooWiki OCA HUB

Product Variant Route MTO

product_variant_route_mto folder_open OCA/product-attribute open_in_new
Inventory License: AGPL-3

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.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you turn Make To Order on or off for a single product variant, even when the main product is not set to Make To Order. It adds a "Variant is MTO" checkbox on the variant edit screen.

This module gives you per-variant control over the Make To Order (MTO) route. On the product variant edit screen (the easy edit form), a new checkbox called "Variant is MTO" appears. Ticking it adds the MTO route to that variant only, without changing the main product's routes.

Business rules the code enforces: - A variant cannot be set as non-MTO while its main product is MTO; Odoo raises a validation error in that case. - When you add or remove the MTO route on the main product, Odoo warns you that this will reset the "Variant is MTO" setting on all its variants. - Creating or updating a product template that is MTO automatically recomputes the MTO flag on its variants.

The module works on product.product and product.template. The variant's route list is computed from the template's routes plus the MTO route when the variant is MTO, and the checkbox is stored so it can be searched and filtered. It depends on the product_route_mto module.

Required by other modules

Models and fields (2)
  • product.product · extends an existing modelis_mto (Variant is MTO), route_ids
  • product.template · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/product-attribute.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.