OdooWiki OCA HUB

Purchase Variant Configurator On Confirm

purchase_variant_configurator_on_confirm folder_open OCA/product-variant open_in_new
Uncategorised License: AGPL-3

Create product variants when confirming the purchase order.

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Lets you add purchase order lines by choosing a product template instead of a specific variant, and creates the actual product variant automatically when you confirm the purchase order.

This module extends the purchase variant configurator so that purchase orders can be prepared with product templates and only generate the real product variants at confirmation time.

  • On a purchase order line you can now select a product template (product_tmpl_id) in addition to the usual product field. The product field is no longer mandatory on purchase order lines.
  • When you confirm the purchase order, any line that has a template but no product automatically creates the needed variant before the order is confirmed, so stock moves are created for the right product.
  • The same automatic variant creation happens if a line is created directly on an already confirmed purchase order.
  • When you duplicate a purchase order, lines without a product get their planned date recalculated using the supplier information, so the copy stays consistent.
  • Selecting a template fills in the line description and purchase description from the template, and looks up the correct supplier price list for that template.
  • Database checks ensure accountable lines still have the required information (template or product, unit of measure, planned date) and that non-accountable lines (section/note lines) do not carry product values.

The module touches purchase.order, purchase.order.line, product.template, product.product and product.supplierinfo. It adds the template field to the purchase order form view.

Models and fields (3)
  • purchase.order · extends an existing model
  • purchase.order.line · new modelproduct_id
  • product.supplierinfo · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 13.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 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/product-variant.

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.