===============
MRP Multi Level
===============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
    :target: https://odoo-community.org/page/development-status
    :alt: Production/Stable
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
    :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github
    :target: https://github.com/OCA/manufacture/tree/16.0/mrp_multi_level
    :alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_multi_level
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
    :target: https://runbot.odoo-community.org/runbot/129/16.0
    :alt: Try me on Runbot

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

This module allows you to calculate, based in known inventory, demand, and
supply, and based on parameters set at product variant level, the new
procurements for each product.

To do this, the calculation starts at top level of the bill of material
and explodes this down to the lowest level.

Key Features
------------

* MRP parameters set by product variant MRP area pairs.
* Cron job to calculate the MRP demand.
* Manually calculate the MRP demand.
* Confirm the calculated MRP demand and create PO's, or MO's.
* Able to see the products for which action is needed throught Planned Orders.
* Integration with `Stock Demand Estimates <https://github.com/OCA/stock-logistics-warehouse/tree/12.0/stock_demand_estimate>`_ system.
  Note: You need to install `mrp_multi_level_estimate module <https://github.com/OCA/manufacture/tree/12.0/mrp_multi_level_estimate>`_.

**Table of contents**

.. contents::
   :local:

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

MRP Areas
~~~~~~~~~

* Go to *Manufacturing > Configuration > MRP Areas* and define or edit
  any existing area. You can specify the working hours for every area.

Product MRP Area Parameters
~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Go to *Manufacturing > Master Data > Product MRP Area Parameters* and set
  the MRP parameters for a given product and area.

Usage
=====

To manually run the MRP scheduler:

#. Go to *Manufacturing > Operations > Run MRP Multi Level*.
#. On the wizard click *Run MRP*.

To launch replenishment orders (moves, purchases, production orders...):

#. Go to *Manufacturing > Operations > MRP Inventory*.
#. Filter with *To procure*.
#. Select multiple records and click on *Action > Procure* or click the right
   hand side gears in any record.
#. On the wizard, check everything is ok and click *Execute*.

Changelog
=========

13.0.1.5.0 (2020-04-09)
~~~~~~~~~~~~~~~~~~~~~~~

**Features**

- Show *Run MRP Multi Level* menu only to a specific new security group *Run MRP Manually*. (`#492 <https://github.com/OCA/manufacture/issues/492>`_)


13.0.1.4.0 (2020-03-26)
~~~~~~~~~~~~~~~~~~~~~~~
  * Add menu entry for planned orders
  * Add button to navigate from planned orders to linked manufacturing orders
  * Add action to convert planned orders to fixed
  * When changing the due date in a planned order the release date is recomputed

13.0.1.3.0 (2020-03-02)
~~~~~~~~~~~~~~~~~~~~~~~

* [IMP] Minor changes"
  (`#470 <https://github.com/OCA/manufacture/pull/470>`_).

  * Planned Order release and due date become required.
  * Add button to Product MRP Area to update MOQ from Supplier Info.
  * Link Manufacturing Orders with Planned Orders.
  * Allow Mrp Inventory Procure Wizard to be used from other models.
  * Make MRP Inventory creation more extensible.
  * Main Supplier computation (v13 requires explicit False definitions)

13.0.1.2.0 (2020-02-20)
~~~~~~~~~~~~~~~~~~~~~~~

* [IMP] Minor changes
  (`#468 <https://github.com/OCA/manufacture/pull/468>`_).

  * Planned Orders become fixed on manual creation by default
  * Released Quantity becomes readonly
  * Add product reference if Planned Order name is not defined on bom explosion

13.0.1.1.0 (2020-02-21)
~~~~~~~~~~~~~~~~~~~~~~~

* [FIX] Minor changes
  (`#469 <https://github.com/OCA/manufacture/pull/469>`_).

  * Fix Main supplier computation in multi company
  * Drop Triplicated field in search view


* [IMP] Minor changes
  (`#463 <https://github.com/OCA/manufacture/pull/463>`_).

  * Show supply method on MRP Inventory
  * Allow no-MRP users to look into Products

13.0.1.0.0 (2019-12-18)
~~~~~~~~~~~~~~~~~~~~~~~

* [MIG] Migration to v13.

12.0.1.0.0 (2019-08-05)
~~~~~~~~~~~~~~~~~~~~~~~

* [MIG] Migration to v12:

  * Estimates as a forecasting mechanism is moved to a new module
    (mrp_multi_level_estimate).

11.0.3.0.0 (2019-05-22)
~~~~~~~~~~~~~~~~~~~~~~~

* [REW/IMP] Rework to include Planned Orders.
  (`#365 <https://github.com/OCA/manufacture/pull/365>`_).
* [IMP] Able to procure from a different location than the area's location.

11.0.2.2.0 (2019-05-02)
~~~~~~~~~~~~~~~~~~~~~~~

* [IMP] Able to run MRP only for selected areas.
  (`#360 <https://github.com/OCA/manufacture/pull/360>`_).

11.0.2.1.0 (2019-04-02)
~~~~~~~~~~~~~~~~~~~~~~~

* [IMP] Implement *Nbr. Days* functionality to be able to group demand when
  generating supply proposals.
  (`#345 <https://github.com/OCA/manufacture/pull/345>`_).

11.0.2.0.0 (2018-11-20)
~~~~~~~~~~~~~~~~~~~~~~~

* [REW] Refactor MRP Area.
  (`#322 <https://github.com/OCA/manufacture/pull/322>`_):

  * MRP product concept dropped in favor of *Product MRP Area Parameters*.
    This allow to set different MRP parameters for the same product in
    different areas.
  * Menu items reordering.

11.0.1.1.0 (2018-08-30)
~~~~~~~~~~~~~~~~~~~~~~~

* [FIX] Consider *Qty Multiple* on product to propose the quantity to procure.
  (`#297 <https://github.com/OCA/manufacture/pull/297>`_)

11.0.1.0.1 (2018-08-03)
~~~~~~~~~~~~~~~~~~~~~~~

* [FIX] User and system locales doesn't break MRP calculation.
  (`#290 <https://github.com/OCA/manufacture/pull/290>`_)
* [FIX] Working Hours are now defined only at Warehouse level and displayed
  as a related on MRP Areas.
  (`#290 <https://github.com/OCA/manufacture/pull/290>`__)

11.0.1.0.0 (2018-07-09)
~~~~~~~~~~~~~~~~~~~~~~~

* 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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/manufacture/issues/new?body=module:%20mrp_multi_level%0Aversion:%2016.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
~~~~~~~

* Ucamco
* ForgeFlow

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

* Wim Audenaert <wim.audenaert@ucamco.com>
* Jordi Ballester <jordi.ballester@forgeflow.com>
* Lois Rilo <lois.rilo@forgeflow.com>
* Héctor Villarreal <hector.villarreal@forgeflow.com>
* Christopher Ormaza <chris.ormaza@forgeflow.com>
* Joan Sisquella <joan.sisquella@forgeflow.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-JordiBForgeFlow| image:: https://github.com/JordiBForgeFlow.png?size=40px
    :target: https://github.com/JordiBForgeFlow
    :alt: JordiBForgeFlow
.. |maintainer-LoisRForgeFlow| image:: https://github.com/LoisRForgeFlow.png?size=40px
    :target: https://github.com/LoisRForgeFlow
    :alt: LoisRForgeFlow
.. |maintainer-ChrisOForgeFlow| image:: https://github.com/ChrisOForgeFlow.png?size=40px
    :target: https://github.com/ChrisOForgeFlow
    :alt: ChrisOForgeFlow

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

|maintainer-JordiBForgeFlow| |maintainer-LoisRForgeFlow| |maintainer-ChrisOForgeFlow| 

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

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