Metadata-Version: 2.1
Name: odoo-addon-mrp_bom_version
Version: 18.0.1.0.0.3
Requires-Python: >=3.10
Requires-Dist: odoo==18.0.*
Summary: BoM versioning
Home-page: https://github.com/OCA/manufacture
License: AGPL-3
Author: OdooMRP team,AvanzOSC,Serv. Tecnol. Avanzados - Pedro M. Baeza, 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 Affero General Public License v3
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 - BoM version
=================

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

.. |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/18.0/mrp_bom_version
    :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_bom_version
    :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|

MRP - BoM Version
=================

This module provides a state in the BoM whether to allow their use in
manufacturing.

**Table of contents**

.. contents::
   :local:

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

Navigate to **Manufacturing > Configuration > Settings** to configure
BoM versioning options.

**Allow Re-editing BoMs**

When enabled, allows changing BoM state from "Active" back to "Draft"
for modifications. This creates a bidirectional workflow instead of the
standard one-way flow.

*Without re-editing*: Draft → Active → Historical (one-way) *With
re-editing*: Draft ↔ Active → Historical (can go back to draft)

**Keep Re-editing BoM Active**

This will allow you to define if those BoM passed back to draft are
still activated or not.

Usage
=====

The following states are defined:

- **Draft**: The form will be available for data entry, and may move to
  "active" state.
- **Active**: You can modify all of the form fields except for the
  fields: routing, BoM lines, and the new field Active, for false
  default when you create a new BoM. The "active" state may be passed
  back to state "draft", if we mark the new field "Allow re-edit the BoM
  list", this new field is defined in *Configuration > Configuration >
  Manufacturing*. You can configure there also if those BoM will
  continue with active check marked as True or not. The active state may
  move to state "Historical".
- **Historical**: This is the last state of the LdM, you can not change
  any field on the form.

When the MRP BoM list is put to active, a record of who has activated,
and when will include in chatter/log. It also adds a constraint for the
sequence field to be unique.

- **New version** : By clicking the button version, current BOM is moved
  to historical state, and a new BOM is creating based on this but with
  version number +1 and changing state to draft

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_bom_version%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
-------

* OdooMRP team
* AvanzOSC
* Serv. Tecnol. Avanzados - Pedro M. Baeza

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

- Pedro M. Baeza pedro.baeza@serviciosbaeza.com
- Ana Juaristi anajuaristi@avanzosc.es
- Alfredo de la Fuente alfredodelafuente@avanzosc.es
- Oihane Crucelaegui oihanecrucelaegui@avanzosc.es
- Daniel Reis dreis@opensourceintegrators.com
- Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>

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/18.0/mrp_bom_version>`_ project on GitHub.

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