Metadata-Version: 2.0
Name: odoo9-addon-purchase-order-variant-mgmt
Version: 9.0.1.0.0.99.dev3
Summary: Handle the addition/removal of multiple variants from product template into the purchase order
Home-page: https://www.tecnativa.com
Author: TecnativaOdoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Platform: UNKNOWN
Requires-Dist: odoo (<9.1a,>=9.0a)
Requires-Dist: odoo9-addon-web-widget-x2many-2d-matrix
Classifier: Programming Language :: Python :: 2.7
Classifier: Framework :: Odoo
Classifier: License :: OSI Approved :: GNU Affero General Public License v3

.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
   :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
   :alt: License: AGPL-3

==================================================
Handle easily multiple variants on Purchase Orders
==================================================

This module allows to add/modify all the variants of a product in a direct
screen without the need of handling them one by one.

Configuration
=============

#. Configure your user to have any permission from "Purchases" group.
#. Create a product with 2 attributes and several values.

Usage
=====

#. Go to Purchases > Purchase > Requests for Quotation
#. Create a new quotation or edit an existing one.
#. Press "Add variants" button located in the upper right corner of the
   "Order Lines" tab.
#. A new screen will appear allowing you to select the products that have
   variants.
#. Once you select the product, a 2D matrix will appear with the first
   attribute values as columns and the second one as rows.
#. If there are already order lines for the product variants, the current
   quantity will be pre-filled in the matrix.
#. Change the quantities for the variant you want and click on "Transfer to
   order"
#. Order lines for the variants will be created/removed to comply with the
   input you have done.

As extra feature for saving steps, there's also a button on each existing line
that corresponds to a variant that opens the dialog directly with the product
selected.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
   :alt: Try me on Runbot
   :target: https://runbot.odoo-community.org/runbot/142/9.0

Known issues / Roadmap
======================

* The inline button for modifying quantities for an existing line won't
  work correctly until these 2 PRs are merged in Odoo:

  * https://github.com/odoo/odoo/pull/13558
  * https://github.com/odoo/odoo/pull/13635

  The problems are already fixed in OCB.

Credits
=======

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

* Pedro M. Baeza <pedro.baeza@tecnativa.com>

Maintainer
----------

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

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.


