Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
96 changed files
with
47,710 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
====================== | ||
MRP Production Request | ||
====================== | ||
|
||
This module extends the functionality of Manufacturing to allow you to use | ||
Manufacturing Request (MR) as a previous step to Manufacturing Orders (MO). | ||
|
||
Configuration | ||
============= | ||
|
||
To configure this module to automatically generate Manufacturing Requests | ||
from procurement orders instead of directly create manufacturing orders yo | ||
need to: | ||
|
||
#. Go to the products that you want them to trigger manufacturing orders. | ||
#. Go to the *Inventory* tab. | ||
#. Check the route *manufacture* and the box *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 added to the thread. | ||
#. If you are the approver you can either click on *Approve* or *Reject* | ||
buttons. | ||
#. Rejecting a MR will cancel associated procurements and propagate this | ||
cancellation. | ||
#. Approving a MR will allow 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 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. | ||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/129/9.0 | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
* Take into account workstations. | ||
* Take into account consumable products. | ||
|
||
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 smash it by providing detailed and welcomed feedback. | ||
|
||
Credits | ||
======= | ||
|
||
Images | ||
------ | ||
|
||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_. | ||
|
||
Contributors | ||
------------ | ||
|
||
* Lois Rilo Antelo <lois.rilo@eficent.com> | ||
* Jordi Ballester <jordi.ballester@eficent.com> | ||
* Opensynergy Indonesia <openerp@opensynergy-indonesia.com> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
This module is maintained by the OCA. | ||
|
||
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. | ||
|
||
To contribute to this module, please visit https://odoo-community.org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2017 Eficent Business and IT Consulting Services S.L. | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import models | ||
from . import wizards |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2017 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": "8.0.1.0.0", | ||
"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", "mrp_hook"], | ||
"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/procurement_order_view.xml", | ||
"views/mrp_production_view.xml", | ||
], | ||
} |
22 changes: 22 additions & 0 deletions
22
mrp_production_request/data/mrp_production_request_sequence.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?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). --> | ||
|
||
<openerp> | ||
<data noupdate="1"> | ||
|
||
<record id="sequence_mrp_production_request" model="ir.sequence.type"> | ||
<field name="name">MRP Production Request</field> | ||
<field name="code">mrp.production.request</field> | ||
</record> | ||
|
||
<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/%(year)s/</field> | ||
<field eval="5" name="padding"/> | ||
<field name="company_id" eval="False"/> | ||
</record> | ||
|
||
</data> | ||
</openerp> |
Oops, something went wrong.