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

[16.0][MIG] mrp_production_grouped_by_product: Migration to 16.0 #1405

Open
wants to merge 51 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e88bc21
[ADD] mrp_production_grouped_by_product: New Module
chienandalu May 10, 2018
b5d2fb4
[IMP] mrp_production_grouped_by_company: Context evaluation on mrp.pr…
pedrobaeza May 10, 2018
529cabf
[IMP] mrp_production_grouped_by_product: Time frames
pedrobaeza Jun 3, 2018
97f902d
[UPD] README.rst
OCA-git-bot Jun 14, 2018
90baa6d
[UPD] Update mrp_production_grouped_by_product.pot
oca-travis Jun 19, 2018
ab65176
[UPD] README.rst
OCA-git-bot Jun 21, 2018
8e40ec8
fix test in mrp_production_grouped_by_product
JordiBForgeFlow Jul 2, 2018
6c6225d
Added translation using Weblate (German)
marylla Dec 9, 2018
3be4a69
Translated using Weblate (German)
marylla Dec 9, 2018
c3b7edf
[ADD] icon.png
OCA-git-bot Apr 3, 2019
c2571f2
[MIG] mrp_production_grouped_by_product: Migration to 12.0
skukered Apr 16, 2019
6f9035b
[UPD] README.rst
OCA-git-bot Apr 29, 2019
8e2484a
[UPD] Update mrp_production_grouped_by_product.pot
oca-travis Apr 29, 2019
a5e88d8
Update translation files
oca-transbot May 20, 2019
421be84
[UPD] README.rst
OCA-git-bot Jul 29, 2019
a019d23
[IMP] mrp_production_grouped_by_product: black, isort
ps-tubtim Jan 9, 2020
3ea2ec6
[MIG] mrp_production_grouped_by_product: Migration to 13.0
ps-tubtim Jan 9, 2020
cb6e503
[UPD] Update mrp_production_grouped_by_product.pot
oca-travis Jan 13, 2020
92f77d7
Update translation files
oca-transbot Jan 27, 2020
20b57fd
pre-commit update
OCA-git-bot Mar 14, 2020
d5dd17b
Translated using Weblate (German)
ortlam May 29, 2020
b63aa71
Update translation files
oca-transbot Aug 16, 2020
19f308b
[FIX] correct manifest website links
LoisRForgeFlow Mar 17, 2021
38bf0e7
[IMP] mrp_production_grouped_by_product: group confirmed MO and set d…
hoangtrann Aug 18, 2021
5e22ce1
mrp_production_grouped_by_product 13.0.1.0.1
OCA-git-bot Oct 21, 2021
f97b961
[FIX] mrp_production_grouped_by product: MO duplicate lines
mariadforgeflow Oct 21, 2021
f2be110
[UPD] Update mrp_production_grouped_by_product.pot
oca-travis Nov 2, 2021
e358fc8
mrp_production_grouped_by_product 13.0.1.0.2
OCA-git-bot Nov 2, 2021
03f9815
Update translation files
oca-transbot Nov 2, 2021
bc49f4e
[14.0][MIG] mrp_production_grouped_by_product
LoisRForgeFlow Nov 16, 2021
68c3183
[UPD] Update mrp_production_grouped_by_product.pot
oca-travis Nov 17, 2021
a2cdf6d
[UPD] README.rst
OCA-git-bot Nov 17, 2021
86b27ef
[FIX] mrp_production_grouped_by_product: duplicated finished moves
LoisRForgeFlow May 4, 2022
b779fc5
mrp_production_grouped_by_product 14.0.1.0.1
OCA-git-bot May 9, 2022
8406113
[FIX] mrp_production_grouped_by_product: singleton error
LoisRForgeFlow May 9, 2022
ddd9376
mrp_production_grouped_by_product 14.0.1.0.2
OCA-git-bot May 9, 2022
aaeb9b2
[MIG] mrp_production_grouped_by_product: Migration to 15.0
punt-sistemes-salva Sep 12, 2022
35ad1fd
[UPD] Update mrp_production_grouped_by_product.pot
Sep 16, 2022
b7d9ee3
[UPD] README.rst
OCA-git-bot Sep 16, 2022
24745d4
Added translation using Weblate (Italian)
mymage Dec 19, 2022
49b4d56
Translated using Weblate (Italian)
mymage Dec 19, 2022
635b4f8
Translated using Weblate (Italian)
francesco-ooops May 15, 2023
065a4fc
Translated using Weblate (Italian)
francesco-ooops Jul 17, 2023
5a155c8
Translated using Weblate (Spanish)
Ivorra78 Jul 23, 2023
6c6cbe2
[UPD] README.rst
OCA-git-bot Sep 3, 2023
94d69eb
Update translation files
weblate Oct 9, 2023
6a85526
[FIX] Fix edge case date bug
Sibert-Aerts Oct 13, 2023
da14b20
[BOT] post-merge updates
OCA-git-bot Dec 28, 2023
929b484
Translated using Weblate (Italian)
mymage Aug 22, 2024
6f35737
[IMP] mrp_production_grouped_by_product: pre-commit stuff
HeliconiaSolutions Nov 27, 2024
15289a0
[MIG] mrp_production_grouped_by_product: Migration to 16.0
HeliconiaSolutions Nov 27, 2024
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
174 changes: 174 additions & 0 deletions mrp_production_grouped_by_product/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
=============================
Production Grouped By Product
=============================

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

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

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

When you have several sales orders with make to order (MTO) products that
require to be manufactured, you end up with one manufacturing order for each of
these sales orders, which is very bad for the management.

With this module, each time an MTO manufacturing order is required to be
created, it first checks that there's no other existing order not yet started
for the same product and bill of materials inside the specied time frame , and
if there's one, then the quantity of that order is increased instead of
creating a new one.

**Table of contents**

.. contents::
:local:

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

To configure the time frame for grouping manufacturing order:

#. Go to *Inventory > Configuration > Warehouse Management > Operation Types*
#. Locate the manufacturing type you are using (default one is called
"Manufacturing").
#. Open it and change these 2 values:

* MO grouping max. hour (UTC): The maximum hour (between 0 and 23) for
considering new manufacturing orders inside the same interval period, and
thus being grouped on the same MO. IMPORTANT: The hour should be expressed
in UTC.
* MO grouping interval (days): The number of days for grouping together on
the same manufacturing order.

Example: If you leave the default values 19 and 1, all the planned orders
between 19:00:01 of the previous day and 20:00:00 of the target date will
be grouped together.

Known issues / Roadmap
======================

* Add a check in the product form for excluding it from being grouped.

Changelog
=========

15.0.1.0.0 (2022-09-12)
~~~~~~~~~~~~~~~~~~~~~~~

* [MIG] Migration to v15.

14.0.1.0.0 (2021-11-16)
~~~~~~~~~~~~~~~~~~~~~~~

* [MIG] Migration to v14.

13.0.1.0.0 (2020-01-09)
~~~~~~~~~~~~~~~~~~~~~~~

* [MIG] Migration to v13.

12.0.1.0.0 (2019-04-17)
~~~~~~~~~~~~~~~~~~~~~~~

* [MIG] Migration to v12:

11.0.2.0.1 (2018-07-02)
~~~~~~~~~~~~~~~~~~~~~~~

* [FIX] fix test in mrp_production_grouped_by_product

11.0.2.0.0 (2018-06-04)
~~~~~~~~~~~~~~~~~~~~~~~

* [IMP] mrp_production_grouped_by_product: Time frames

11.0.1.0.1 (2018-05-11)
~~~~~~~~~~~~~~~~~~~~~~~

* [IMP] mrp_production_grouped_by_company: Context evaluation on mrp.production + tests

11.0.1.0.0 (2018-05-11)
~~~~~~~~~~~~~~~~~~~~~~~

* 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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/manufacture/issues/new?body=module:%20mrp_production_grouped_by_product%0Aversion:%2016.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
~~~~~~~

* Tecnativa

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

* `Tecnativa <https://www.tecnativa.com>`__

* David Vidal
* Pedro M. Baeza

* `Ecosoft <https://ecosoft.co.th/>`__:

* Pimolnat Suntian <pimolnats@ecosoft.co.th>

* `ForgeFlow <https://www.forgeflow.com/>`__:

* Lois Rilo <lois.rilo@forgeflow.com>

* `Punt Sistemes <https://www.puntsistemes.com/>`__:

* Salva Benlloch <sbenlloch@puntsistemes.es>

* `InitOS <https://www.initos.com/>`__:

* Dhara Solanki <dhara.solanki@initos.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/16.0/mrp_production_grouped_by_product>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions mrp_production_grouped_by_product/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
16 changes: 16 additions & 0 deletions mrp_production_grouped_by_product/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2018 Tecnativa - David Vidal
# Copyright 2018 Tecnativa - Pedro M. Baeza
# Copyright 2019 Rubén Bravo <rubenred18@gmail.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Production Grouped By Product",
"version": "16.0.1.0.0",
"category": "MRP",
"author": "Tecnativa, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/manufacture",
"license": "AGPL-3",
"depends": ["mrp"],
"data": ["views/stock_picking_type_views.xml"],
"installable": True,
}
84 changes: 84 additions & 0 deletions mrp_production_grouped_by_product/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_production_grouped_by_product
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-05-29 14:19+0000\n"
"Last-Translator: ortlam <ruben.ortlam@initos.com>\n"
"Language-Team: none\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.10\n"

#. module: mrp_production_grouped_by_product
#: model:ir.model.fields,field_description:mrp_production_grouped_by_product.field_stock_picking_type__mo_grouping_interval
msgid "MO grouping interval (days)"
msgstr "Gruppierungsintervall für Fertigungsaufträge (Tage)"

#. module: mrp_production_grouped_by_product
#: model:ir.model.fields,field_description:mrp_production_grouped_by_product.field_stock_picking_type__mo_grouping_max_hour
msgid "MO grouping max. hour (UTC)"
msgstr "Späteste Uhrzeit (UTC) für die Gruppierung von Fertigungsaufträgen"

#. module: mrp_production_grouped_by_product
#: model:ir.model,name:mrp_production_grouped_by_product.model_stock_picking_type
msgid "Picking Type"
msgstr ""

#. module: mrp_production_grouped_by_product
#: model:ir.model,name:mrp_production_grouped_by_product.model_mrp_production
msgid "Production Order"
msgstr "Fertigungsauftrag"

#. module: mrp_production_grouped_by_product
#: model:ir.model,name:mrp_production_grouped_by_product.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: mrp_production_grouped_by_product
#: model:ir.model,name:mrp_production_grouped_by_product.model_stock_rule
msgid "Stock Rule"
msgstr ""

#. module: mrp_production_grouped_by_product
#: model:ir.model.fields,help:mrp_production_grouped_by_product.field_stock_picking_type__mo_grouping_max_hour
msgid ""
"The maximum hour (between 0 and 23) for considering new manufacturing orders "
"inside the same interval period, and thus being grouped on the same MO. "
"IMPORTANT: The hour should be expressed in UTC."
msgstr ""
"Dies ist die späteste Uhrzeit (zwischen 0 und 23) zur Berücksichtigung von "
"neuen Fertigungsaufträgen innerhalb desselben Intervals, die dabei zum "
"selben Fertigungsauftrag gruppiert werden. WICHTIG: Die Uhrzeit muss in UTC "
"angegeben werden."

#. module: mrp_production_grouped_by_product
#: model:ir.model.fields,help:mrp_production_grouped_by_product.field_stock_picking_type__mo_grouping_interval
msgid ""
"The number of days for grouping together on the same manufacturing order."
msgstr ""
"Dies ist die Anzahl von Tagen zur Gruppierung in demselben Fertigungsauftrag."

#. module: mrp_production_grouped_by_product
#: code:addons/mrp_production_grouped_by_product/models/stock_picking_type.py:0
#, python-format
msgid "You have to enter a positive value for interval."
msgstr "Sie müssen für das Intervall einen Wert größer 0 eingeben."

#. module: mrp_production_grouped_by_product
#: code:addons/mrp_production_grouped_by_product/models/stock_picking_type.py:0
#, python-format
msgid "You have to enter a valid hour between 0 and 23."
msgstr "Sie müssen eine gültige Uhrzeit zwischen 0 und 23 eingeben."

#~ msgid "Procurement Rule"
#~ msgstr "Beschaffungsregel"

#~ msgid "The operation type determines the picking view"
#~ msgstr "Der Vorgangstyp legt die Pick-Ansicht fest"
83 changes: 83 additions & 0 deletions mrp_production_grouped_by_product/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_production_grouped_by_product
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-03 23:16+0000\n"
"PO-Revision-Date: 2018-06-03 23:16+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: mrp_production_grouped_by_product
#: model:ir.model.fields,field_description:mrp_production_grouped_by_product.field_stock_picking_type__mo_grouping_interval
msgid "MO grouping interval (days)"
msgstr "Intervalo de agrupación de OFs (días)"

#. module: mrp_production_grouped_by_product
#: model:ir.model.fields,field_description:mrp_production_grouped_by_product.field_stock_picking_type__mo_grouping_max_hour
msgid "MO grouping max. hour (UTC)"
msgstr "Hora máx. agrupación OFs (UTC)"

#. module: mrp_production_grouped_by_product
#: model:ir.model,name:mrp_production_grouped_by_product.model_stock_picking_type
msgid "Picking Type"
msgstr ""

#. module: mrp_production_grouped_by_product
#: model:ir.model,name:mrp_production_grouped_by_product.model_mrp_production
#, fuzzy
msgid "Production Order"
msgstr "Orden de fabricación"

#. module: mrp_production_grouped_by_product
#: model:ir.model,name:mrp_production_grouped_by_product.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: mrp_production_grouped_by_product
#: model:ir.model,name:mrp_production_grouped_by_product.model_stock_rule
msgid "Stock Rule"
msgstr ""

#. module: mrp_production_grouped_by_product
#: model:ir.model.fields,help:mrp_production_grouped_by_product.field_stock_picking_type__mo_grouping_max_hour
msgid ""
"The maximum hour (between 0 and 23) for considering new manufacturing orders "
"inside the same interval period, and thus being grouped on the same MO. "
"IMPORTANT: The hour should be expressed in UTC."
msgstr ""
"La hora máxima (entre 0 y 23) para considerar nuevas órdenes de fabricación "
"dentro del mismo periodo de tiempo, y por tanto siendo agrupadas dentro de "
"la misma OF. IMPORTANTE: La hora debe expresarse en UTC."

#. module: mrp_production_grouped_by_product
#: model:ir.model.fields,help:mrp_production_grouped_by_product.field_stock_picking_type__mo_grouping_interval
msgid ""
"The number of days for grouping together on the same manufacturing order."
msgstr "El número de días para agrupar juntas las órdenes de fabricación."

#. module: mrp_production_grouped_by_product
#: code:addons/mrp_production_grouped_by_product/models/stock_picking_type.py:0
#, python-format
msgid "You have to enter a positive value for interval."
msgstr "Debe introducir un valor positivo para el intervalo."

#. module: mrp_production_grouped_by_product
#: code:addons/mrp_production_grouped_by_product/models/stock_picking_type.py:0
#, python-format
msgid "You have to enter a valid hour between 0 and 23."
msgstr "Debe introducir una hora válida entre 0 y 23."

#~ msgid "Procurement Rule"
#~ msgstr "Regla de abastecimiento"

#~ msgid "The operation type determines the picking view"
#~ msgstr "El tipo de operación determina la vista de la operación"
Loading
Loading