Metadata-Version: 2.1
Name: odoo-addon-product_variant_template_reassign
Version: 18.0.1.0.0.2
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Requires-Dist: openupgradelib
Summary: Reassign variants to templates
Home-page: https://github.com/OCA/product-variant
License: AGPL-3
Author: Tecnativa, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 4 - Beta
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

=================================
Product variant template reassign
=================================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:f6fb3fb0a13dda14fa6f8eb9d73397aec372af70eac9bede9151e90ae1e28d93
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--variant-lightgray.png?logo=github
    :target: https://github.com/OCA/product-variant/tree/18.0/product_variant_template_reassign
    :alt: OCA/product-variant
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/product-variant-18-0/product-variant-18-0-product_variant_template_reassign
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/product-variant&target_branch=18.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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

**Table of contents**

.. contents::
   :local:

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 <https://github.com/OCA/product-variant/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 <https://github.com/OCA/product-variant/issues/new?body=module:%20product_variant_template_reassign%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Tecnativa

Contributors
------------

- `Tecnativa <https://tecnativa.com>`__

  - David Vidal
  - Pedro M. Baeza
  - Juan Carlos Oñate

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

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.

.. |maintainer-chienandalu| image:: https://github.com/chienandalu.png?size=40px
    :target: https://github.com/chienandalu
    :alt: chienandalu

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-chienandalu| 

This module is part of the `OCA/product-variant <https://github.com/OCA/product-variant/tree/18.0/product_variant_template_reassign>`_ project on GitHub.

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