Metadata-Version: 2.1
Name: odoo-addon-mrp_propagate_lot_info
Version: 18.0.1.0.0.3
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: Propagate lot data from the origin consuming materials
Home-page: https://github.com/OCA/manufacture
License: LGPL-3
Author: Moduon, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
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 Propagate Lot Info
======================

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

.. |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-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/18.0/mrp_propagate_lot_info
    :alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/manufacture-18-0/manufacture-18-0-mrp_propagate_lot_info
    :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=18.0
    :alt: Try me on Runboat

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

Propagates selected stock lot fields from a consumed component to the
produced lots of a manufacturing order, including flagged by-products.

**Table of contents**

.. contents::
   :local:

Use Cases / Context
===================

Some manufacturing flows need produced lots to keep information from the
lot consumed for a key component.

For example, a component lot can define expiration or traceability
metadata that must remain available on the finished product lot, or on
selected by-product lots, after production.

The same need can appear on manual manufacturing orders that do not use
a BoM. In that case, the manufactured product category can define which
propagation profile should be used.

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

Only one component line can have a propagation profile per BoM, and the
component must be tracked by lots or serial numbers.

Propagated fields are grouped in profiles. To create one:

1. Go to **Manufacturing > Configuration > Lot Info Propagation
   Profiles**.
2. Create a profile.
3. Select the stock lot fields that the profile should propagate.

To configure product category defaults:

1. Go to a product category.
2. Set **MRP Lot Propagation Profile**.

That profile will be proposed automatically on BoM lines when selecting
a component from that category.

To configure a BoM:

1. Open the BoM.
2. On the component line that should provide the lot information, review
   or edit the lot propagation profile.
3. Leave the profile empty on the other component lines.
4. On by-product lines that should receive the same lot information,
   enable **Propagate Lot Info**.

For manufacturing orders created without a BoM, configure the
propagation profile on the manufactured product category. The order must
consume exactly one lot/serial number across all raw material moves.

Usage
=====

To use lot propagation in manufacturing:

1. Confirm the manufacturing order.
2. Consume exactly one lot/serial number for the configured component.
3. Set the finished product lot/serial number.
4. Validate the manufacturing order.

During validation, the configured non-empty values from the consumed
component lot are copied to the finished product lot and to the lots of
by-products that have **Propagate Lot Info** enabled on the BoM.

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_propagate_lot_info%0Aversion:%2018.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
-------

* Moduon

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

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

|maintainer-chienandalu| 

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

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