Odoo Community Association

Product variant template reassign

Beta License: AGPL-3 OCA/product-variant Translate me on Weblate Try me on Runboat

Be able to assign a unique variant to a multi-variant template.

Table of contents

Configuration

The merging options are quite limited when it comes to keeping the original record values. To ensure that the original variant info is preserved, go to Settings > Technical > Parameters > System Parameters and add the fields you want to keep to the product_variant_template_reassign.keep_fields parameter (comma-separated field names, list_price,standard_price by default).

Usage

Say you have a template “Scarf” with color variants (Blue, Red) and a standalone single-variant product “Green scarf” that should really be one more color of “Scarf”:

  1. Open the single variant product “Green scarf” (Inventory > Products > Products).
  2. Choose Reassign variant in the Actions menu.
  3. Select the target template (“Scarf”) and the attribute values for the new variant (Green).
  4. Click on Reassign.

“Green scarf” is merged into “Scarf” as its Green variant, keeping its data (code, barcode, operations…). The origin template is deleted and a tracking note is posted in the target template chatter.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

  • Tecnativa
    • David Vidal
    • Pedro M. Baeza
    • Juan Carlos Oñate

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

chienandalu

This module is part of the OCA/product-variant project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.