Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][MIG] mrp_production_request -> mrp_request: Migration to V14 #625

Closed
wants to merge 40 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
8cb550c
[9.0][ADD] mrp_production_request
LoisRForgeFlow Jun 13, 2017
7260494
[9.0][IMP] mrp_production_request: add tests.
LoisRForgeFlow Jun 23, 2017
805ab49
[9.0][IMP] mrp_production_request:
LoisRForgeFlow Jun 26, 2017
5fa2399
Improve extensibility
andhit-r Jun 27, 2017
738709c
[9.0][IMP] mrp_production_request:
LoisRForgeFlow Jun 28, 2017
8e72571
[9.0][IMP] add a new field to show done qty.
LoisRForgeFlow Jul 18, 2017
49c2d48
[FIX] security issues:
LoisRForgeFlow Jul 27, 2017
2698e4d
OCA Transbot updated translations from Transifex
oca-transbot Sep 2, 2017
0aab2a8
[10.0][MIG] mrp_production_request
LoisRForgeFlow Jan 19, 2018
bc3f205
[10.0][ADD] mrp_production_request: migration script
LoisRForgeFlow Jan 19, 2018
5d1ba4f
OCA Transbot updated translations from Transifex
oca-transbot Mar 3, 2018
dd17b93
[10.0][FIX] mrp_production_request: issue propagating context to unde…
LoisRForgeFlow Mar 6, 2018
e2bb4fd
[UPD] Update mrp_production_request.pot
oca-travis Jun 23, 2018
cb04743
[10.0][FIX] mrp_production_request: do not allow to add MOs manually.
LoisRForgeFlow Mar 21, 2018
0b867ea
[FIX][mrp_production_request] date_planned field should be named date…
SimoRubi Jul 13, 2018
447b787
[UPD] Update mrp_production_request.pot
oca-travis Sep 12, 2018
f1da9a4
[11.0][MIG] mrp_production_request
LoisRForgeFlow Sep 13, 2018
d4ccd90
[UPD] README.rst
OCA-git-bot Nov 29, 2018
621470a
[UPD] Update mrp_production_request.pot
oca-travis Nov 29, 2018
2f13a6b
Translated using Weblate (German)
marylla Dec 8, 2018
8172be5
Update translation files
oca-transbot Dec 9, 2018
3257b0a
Translated using Weblate (German)
marylla Dec 9, 2018
a26a1f4
[11.0][IMP] mrp_production_request: Add product and BoM search filters
HviorForgeFlow Apr 16, 2019
6cc7981
[UPD] README.rst
OCA-git-bot Jul 29, 2019
6330f6f
[12.0][MIG] mrp_production_request
LoisRForgeFlow Sep 13, 2019
27908ba
[UPD] Update mrp_production_request.pot
oca-travis Sep 20, 2019
8419895
[UPD] README.rst
OCA-git-bot Sep 20, 2019
2f56833
Update translation files
oca-transbot Sep 26, 2019
e675b08
[ADD] Added module with pre-commit changes only.
Chandresh-SerpentCS Apr 3, 2020
696d81b
[IMP] Improved the code as per v13.
Chandresh-SerpentCS Apr 3, 2020
18e6afc
[ADD] Added component items in MO from mrp request.
Chandresh-SerpentCS Apr 6, 2020
0b2a626
[UPD] Update mrp_production_request.pot
oca-travis Apr 7, 2020
4f388f3
Update translation files
oca-transbot Apr 9, 2020
aa245fa
Update translation files
oca-transbot Aug 16, 2020
cbb9dc2
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
15b203d
[UPD] README.rst
OCA-git-bot Oct 1, 2020
6a0b7ac
[13.0][FIX] mrp_production_request: correct handling of serveral proc…
LoisRForgeFlow Oct 29, 2020
8dd5c62
mrp_production_request 13.0.1.0.1
OCA-git-bot Oct 29, 2020
96b55a8
[IMP] mrp_production_request: black, isort, prettier
alan196 Mar 13, 2021
1991e35
[MIG] mrp_production_request: Migration to 14.0
alan196 Mar 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
156 changes: 156 additions & 0 deletions mrp_request/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
===========
MRP 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/14.0/mrp_request
:alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/manufacture-14-0/manufacture-14-0-mrp_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/14.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_request%0Aversion:%2014.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
~~~~~~~

* ForgeFlow

Contributors
~~~~~~~~~~~~

* Lois Rilo Antelo <[email protected]>
* Jordi Ballester <[email protected]>
* Chandresh Thakkar <[email protected]>
* Alan Ramos <[email protected]>

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

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

|maintainer-LoisRForgeFlow|

This module is part of the `OCA/manufacture <https://github.com/OCA/manufacture/tree/14.0/mrp_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_request/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
27 changes: 27 additions & 0 deletions mrp_request/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2017-19 ForgeFlow S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "MRP Request",
"summary": "Allows you to use Manufacturing Request as a previous "
"step to Manufacturing Orders for better manufacture "
"planification.",
"version": "14.0.1.0.0",
"development_status": "Mature",
"maintainers": ["LoisRForgeFlow"],
"category": "Manufacturing",
"website": "https://github.com/OCA/manufacture",
"author": "ForgeFlow," "Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["mrp", "stock_free_quantity"],
"data": [
"security/mrp_request_security.xml",
"security/ir.model.access.csv",
"data/mrp_request_sequence.xml",
"wizards/mrp_request_create_mo_view.xml",
"views/mrp_request_view.xml",
"views/product_template_view.xml",
"views/mrp_production_view.xml",
],
}
12 changes: 12 additions & 0 deletions mrp_request/data/mrp_request_sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017 ForgeFlow S.L.
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">
<record id="seq_mrp_request" model="ir.sequence">
<field name="name">Manufacturing Request</field>
<field name="code">mrp.request</field>
<field name="prefix">MR/%(range_year)s/</field>
<field name="padding">5</field>
<field name="company_id" eval="False" />
</record>
</odoo>
Loading