======================
MRP Production Request
======================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
    :target: https://odoo-community.org/page/development-status
    :alt: Mature
.. |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/12.0/mrp_production_request
    :alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/manufacture-12-0/manufacture-12-0-mrp_production_request
    :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=12.0
    :alt: Try me on Runboat

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

This module extends the functionality of Manufacturing to allow you to use
Manufacturing Request (MR) as a previous step to Manufacturing Orders (MO).

Some of the benefits you can obtain are:

* Allow managers to review what is going to be manufactured.
* Better control of manufacturing calendar.
* Manage big requirements splitting them in batches.
* Know your bottleneck component in advance and only schedule what you really
  can build.

**Table of contents**

.. contents::
   :local:

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

To configure a product to automatically generate Manufacturing Requests
from procurements instead of directly create manufacturing orders you
need to:

#. Go to the products that you want them to trigger manufacturing requests.
#. Go to the *Inventory* tab.
#. Check the box of a *manufacture* route and the box of
   *Manufacturing Request*.

Usage
=====

To use this module, you need to:

#. Go to *Manufacturing > Manufacturing Requests*.
#. Create a manufacturing request or open a existing one (assigned to you or
   created from a procurement).
#. If you click on *Request approval* button the user assigned as approver
   will be added to the thread.
#. If you are the approver you can either click on *Approve* or *Reject*
   buttons.
#. Rejecting a MR will cancel it and propagate this cancellation to
   destination moves.
#. Approving a MR will allow you to create manufacturing orders.
#. You can manually set to done a request by clicking in the button *Done*.

To create MOs from MRs you have to:

#. Go to approved manufacturing request.
#. Click on the button *Create Manufacturing Order*.
#. In the opened wizard, click on *Compute lines* so you will have a
   quantity proposed for creating a MO. This quantity is the maximum quantity
   you can produce with the current stock available for the components needed
   in the source location.
#. Use the proposed quantity or change it and click on *Create MO* at the
   bottom of the wizard.

**NOTE:** This module does not restrict the quantity that can be converted
from a MR to MOs. It is in hands of the user to decide when a MR is ended and
to set it to *Done* state.

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

* Take into account workstations.
* Take into account consumable products.

Changelog
=========

12.0.1.0.0 (2019-09-13)
~~~~~~~~~~~~~~~~~~~~~~~

* [MIG] Migration to v12.

11.0.1.0.0 (2018-09-13)
~~~~~~~~~~~~~~~~~~~~~~~

* [MIG] Migration to v11. Start of the history.

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:%20mrp_production_request%0Aversion:%2012.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
~~~~~~~

* Eficent

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

* Lois Rilo Antelo <lois.rilo@eficent.com>
* Jordi Ballester <jordi.ballester@eficent.com>

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-lreficent| image:: https://github.com/lreficent.png?size=40px
    :target: https://github.com/lreficent
    :alt: lreficent

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

|maintainer-lreficent| 

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

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