Metadata-Version: 2.1
Name: odoo-addon-purchase_mrp_distribution
Version: 15.0.1.0.0.3
Summary: Purchase MRP Distribution
Home-page: https://github.com/OCA/manufacture
Author: Tecnaiva, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 15.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Requires-Python: >=3.8
Requires-Dist: odoo<15.1dev,>=15.0a

=========================
Purchase MRP Distribution
=========================

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

.. |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/licence-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%2Fmanufacture-lightgray.png?logo=github
    :target: https://github.com/OCA/manufacture/tree/15.0/purchase_mrp_distribution
    :alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-purchase_mrp_distribution
    :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/manufacture&target_branch=15.0
    :alt: Try me on Runboat

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

This module allows you to buy a product that will be divided into others without 
knowing the exact quantity of the others. That quantity will be filled in the picking.

**Table of contents**

.. contents::
   :local:

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

To use this module, we will need to configure n different distribution-type Bills of 
Materials (BoM) for n products. To do this, we will follow these steps:

#. Go to Manufacturing > Products > Bills of Materials
#. Click on Create
#. Select the product to be distributed in the receptions
#. Select the BoM type "Distribution"
#. In the components, add the products that can be filled in the reception (it is not 
   necessary to mark the quantity as it will default to 0)

Usage
=====

To see the module's functionality:

1. Create a new purchase order
2. Add the product for which the BoM has been created
3. Confirm the order
4. Go to the created delivery order
5. You will see a new button in the move that contains the product, click on it
6. A wizard will open to define the quantity of each product to distribute
7. By clicking on Distribute, the move lines will be added with the products from the 
   BoM

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

#. The current module is not designed to handle multi-step receipts. It operates on a 
   single-step process, making it unsuitable for more complex inventory management 
   scenarios.
#. The current module is not designed to handle multiple lots for a product.
#. The current module is not designed to handle multiple packages for a product.

Changelog
=========

This module aims to address the need to receive a generic product, but until the 
moment of reception, we do not know the quantity that we might receive of its 
specific products.

Using kits was not suitable for us, because to account for a unit of the kit product, 
the quantity specified in the BoM must be received. Therefore, we opted to define a 
new type of BoM called distribution.

In this way, upon receiving a unit of any product added to the BoM, it will be 
accounted for as a unit of the generic product and will be reflected in the svls as 
separate products, but they will be accounted for in the purchase line as part of the 
product.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/manufacture/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/manufacture/issues/new?body=module:%20purchase_mrp_distribution%0Aversion:%2015.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
~~~~~~~

* Tecnaiva

Contributors
~~~~~~~~~~~~

* `Tecnativa <https://www.tecnativa.com>`_:

  * Pedro M. Baeza
  * Carlos Roca

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.

This module is part of the `OCA/manufacture <https://github.com/OCA/manufacture/tree/15.0/purchase_mrp_distribution>`_ project on GitHub.

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