Skip to content

Commit

Permalink
Merge PR #404 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by lreficent
  • Loading branch information
OCA-git-bot committed Sep 20, 2019
2 parents b449722 + c237241 commit 0f7013a
Show file tree
Hide file tree
Showing 103 changed files with 47,765 additions and 0 deletions.
154 changes: 154 additions & 0 deletions mrp_production_request/README.rst
@@ -0,0 +1,154 @@
======================
MRP Production Request
======================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/129/12.0
:alt: Try me on Runbot

|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 smashing 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.
2 changes: 2 additions & 0 deletions mrp_production_request/__init__.py
@@ -0,0 +1,2 @@
from . import models
from . import wizards
28 changes: 28 additions & 0 deletions mrp_production_request/__manifest__.py
@@ -0,0 +1,28 @@
# Copyright 2017-19 Eficent Business and IT Consulting Services S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "MRP Production Request",
"summary": "Allows you to use Manufacturing Request as a previous "
"step to Manufacturing Orders for better manufacture "
"planification.",
"version": "12.0.1.0.0",
"development_status": "Mature",
"maintainers": ['lreficent'],
"category": "Manufacturing",
"website": "https://github.com/OCA/manufacture",
"author": "Eficent,"
"Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["mrp", "stock_available_unreserved"],
"data": [
"security/mrp_production_request_security.xml",
"security/ir.model.access.csv",
"data/mrp_production_request_sequence.xml",
"wizards/mrp_production_request_create_mo_view.xml",
"views/mrp_production_request_view.xml",
"views/product_template_view.xml",
"views/mrp_production_view.xml",
],
}
15 changes: 15 additions & 0 deletions mrp_production_request/data/mrp_production_request_sequence.xml
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017 Eficent Business and IT Consulting Services S.L.
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->

<odoo noupdate="1">

<record id="seq_mrp_production_request" model="ir.sequence">
<field name="name">Manufacturing Request</field>
<field name="code">mrp.production.request</field>
<field name="prefix">MR/%(range_year)s/</field>
<field name="padding">5</field>
<field name="company_id" eval="False"/>
</record>

</odoo>

0 comments on commit 0f7013a

Please sign in to comment.