OdooWiki OCA HUB

Product Multi Links (Variant)

product_variant_multi_link folder_open OCA/e-commerce open_in_new
Generic Modules License: AGPL-3

Extends product_template_multi_link to link product variants.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you create product links at the variant level, not just at the product template level, and shows a counter button on each variant form with its number of links.

This module extends the product links feature so links can be defined between specific product variants instead of only between whole products.

On a product variant form you get a new stat button labelled "Product Links" showing how many links that variant has. Clicking it opens the list of links filtered to that variant, grouped by link type, and ready to create a new link with that variant pre-filled.

In the link records themselves, two new fields appear: "Source Variant" and "Linked Variant". They are only visible to users who have the product variants feature enabled, and the variant choices are limited to variants belonging to the selected product on each side.

Business rules added: a link must always have both a source variant and a target variant, otherwise saving is blocked with a validation message. The existing checks that prevent linking a product to itself are also applied at variant level, and the duplicate-link detection now compares variants on both sides.

Deleting a variant automatically removes its links. The module works on product.product and product.template.link, and it builds on the product template multi-link module.

Models and fields (2)
  • product.product · extends an existing modelproduct_variant_link_ids (Product Variant Links), product_product_link_count (Variants Links Count)
  • product.template.link · extends an existing modelleft_product_id (Source Variant), right_product_id (Linked Variant)

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/e-commerce.

terminal Installation and usage

OCA documentation · Odoo 19.0

Create a link as you would do with product_template_multi_link and after setting a template, set a variant for that template.

No verified information in OCA: Installation, Configuration.

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.