Metadata-Version: 2.1
Name: odoo-addon-mrp_production_push_mto_qty
Version: 19.0.1.0.0.4
Requires-Dist: odoo==19.0.*
Summary: Push the quantity produced by a manufacturing order to the demand of the ensuing MTO moves
Home-page: https://github.com/OCA/manufacture
License: AGPL-3
Author: Camptocamp, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 19.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

================================
MRP Production Push MTO Quantity
================================

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

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

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

In a Make To Order flow, the finished move of a manufacturing order
feeds the ensuing moves (e.g. the delivery). By default, if the
manufacturing order produces a different quantity than the planned one,
the demand of these ensuing moves is not updated.

This module pushes the change of quantity produced to the demand of the
ensuing moves, along the whole chain of destination moves:

- Producing more than planned increases the demand.
- Producing less than planned without creating a backorder decreases the
  demand.
- Producing less than planned and creating a backorder for the remaining
  quantity keeps the demand unchanged, as the backorder will still
  produce it.
- Cancelling a backorder manufacturing order decreases the demand by its
  remaining quantity.

Moves whose demand is reduced to zero are cancelled. Component moves of
another manufacturing order are never updated.

**Table of contents**

.. contents::
   :local:

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

1. Go to *Inventory > Configuration > Operation Types*.
2. Open the *Manufacturing* operation type of the warehouse.
3. Check *Push Produced Quantity to MTO Moves*.

The option is disabled by default and only applies to the manufacturing
orders using this operation type.

Usage
=====

1. Enable *Push Produced Quantity to MTO Moves* on the *Manufacturing*
   operation type (see Configuration).
2. Configure a product with the *Manufacture* and *Replenish on Order
   (MTO)* routes.
3. Create a demand for 10 units (e.g. a delivery), which creates a
   manufacturing order for 10 units.
4. Produce 8 units and mark the manufacturing order as done without
   creating a backorder.
5. The demand of the delivery is now 8 units.

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_push_mto_qty%0Aversion:%2019.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
-------

* Camptocamp

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

- Akim Juillerat <akim.juillerat@camptocamp.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.

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

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