From a575530e39946eaa4946ef2b51362ca42438ec0b Mon Sep 17 00:00:00 2001 From: hveficent Date: Tue, 31 Mar 2020 14:27:25 +0200 Subject: [PATCH] [12.0][UPD] mrp_multi_level: Backport 13.0 --- mrp_multi_level/README.rst | 61 ++++++-- mrp_multi_level/__manifest__.py | 4 +- .../migrations/11.0.2.0.0/post-migration.py | 2 +- mrp_multi_level/models/mrp_area.py | 2 +- mrp_multi_level/models/mrp_inventory.py | 2 +- mrp_multi_level/models/mrp_move.py | 2 +- mrp_multi_level/models/mrp_planned_order.py | 2 +- mrp_multi_level/models/product_mrp_area.py | 2 +- mrp_multi_level/models/product_product.py | 2 +- mrp_multi_level/models/product_template.py | 2 +- mrp_multi_level/models/stock_location.py | 2 +- mrp_multi_level/readme/CONTRIBUTORS.rst | 5 +- mrp_multi_level/readme/HISTORY.rst | 40 +++++ mrp_multi_level/static/description/index.html | 139 ++++++++++++------ mrp_multi_level/tests/common.py | 2 +- mrp_multi_level/tests/test_mrp_multi_level.py | 2 +- .../wizards/mrp_inventory_procure.py | 2 +- mrp_multi_level/wizards/mrp_multi_level.py | 2 +- 18 files changed, 200 insertions(+), 75 deletions(-) diff --git a/mrp_multi_level/README.rst b/mrp_multi_level/README.rst index f45bdc7df..961b46eac 100644 --- a/mrp_multi_level/README.rst +++ b/mrp_multi_level/README.rst @@ -82,6 +82,46 @@ To launch replenishment orders (moves, purchases, production orders...): Changelog ========= +12.0.2.0.0 (2020-03-31) +~~~~~~~~~~~~~~~~~~~~~~~ +* Improving the management of planned orders: + + * Add menu entry for planned orders + * Add button to navigate from planned orders to linked manufacturing orders + * Add action to convert planned orders to fixed + * When changing the due date in a planned order the release date is recomputed + +* [IMP] Minor changes" + (`#470 `_). + + * Planned Order release and due date become required. + * Add button to Product MRP Area to update MOQ from Supplier Info. + * Link Manufacturing Orders with Planned Orders. + * Allow Mrp Inventory Procure Wizard to be used from other models. + * Make MRP Inventory creation more extensible. + * Main Supplier computation (v13 requires explicit False definitions) + +* [IMP] Minor changes + (`#468 `_). + + * Planned Orders become fixed on manual creation by default + * Released Quantity becomes readonly + * Add product reference if Planned Order name is not defined on bom explosion + +* [FIX] Minor changes + (`#469 `_). + + * Fix Main supplier computation in multi company + * Drop Triplicated field in search view + + +* [IMP] Minor changes + (`#463 `_). + + * Show supply method on MRP Inventory + * Allow no-MRP users to look into Products + + 12.0.1.0.0 (2019-08-05) ~~~~~~~~~~~~~~~~~~~~~~~ @@ -158,14 +198,15 @@ Authors ~~~~~~~ * Ucamco -* Eficent +* ForgeFlow Contributors ~~~~~~~~~~~~ * Wim Audenaert -* Jordi Ballester -* Lois Rilo +* Jordi Ballester +* Lois Rilo +* Héctor Villarreal Maintainers ~~~~~~~~~~~ @@ -180,16 +221,16 @@ 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-jbeficent| image:: https://github.com/jbeficent.png?size=40px - :target: https://github.com/jbeficent - :alt: jbeficent -.. |maintainer-lreficent| image:: https://github.com/lreficent.png?size=40px - :target: https://github.com/lreficent - :alt: lreficent +.. |maintainer-JordiBForgeFlow| image:: https://github.com/JordiBForgeFlow.png?size=40px + :target: https://github.com/JordiBForgeFlow + :alt: JordiBForgeFlow +.. |maintainer-LoisRForgeFlow| image:: https://github.com/LoisRForgeFlow.png?size=40px + :target: https://github.com/LoisRForgeFlow + :alt: LoisRForgeFlow Current `maintainers `__: -|maintainer-jbeficent| |maintainer-lreficent| +|maintainer-JordiBForgeFlow| |maintainer-LoisRForgeFlow| This module is part of the `OCA/manufacture `_ project on GitHub. diff --git a/mrp_multi_level/__manifest__.py b/mrp_multi_level/__manifest__.py index 72f0722ca..89b30a468 100644 --- a/mrp_multi_level/__manifest__.py +++ b/mrp_multi_level/__manifest__.py @@ -1,5 +1,5 @@ # Copyright 2016 Ucamco - Wim Audenaert -# Copyright 2016-19 Eficent Business and IT Consulting Services S.L. +# Copyright 2016-19 ForgeFlow S.L. (https://www.forgeflow.com) # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). { @@ -8,7 +8,7 @@ 'development_status': 'Beta', 'license': 'LGPL-3', 'author': 'Ucamco, ' - 'Eficent, ' + 'ForgeFlow, ' 'Odoo Community Association (OCA)', "maintainers": ["JordiBForgeFlow", "LoisRForgeFlow"], 'summary': 'Adds an MRP Scheduler', diff --git a/mrp_multi_level/migrations/11.0.2.0.0/post-migration.py b/mrp_multi_level/migrations/11.0.2.0.0/post-migration.py index afd5d1925..3530db10c 100644 --- a/mrp_multi_level/migrations/11.0.2.0.0/post-migration.py +++ b/mrp_multi_level/migrations/11.0.2.0.0/post-migration.py @@ -1,4 +1,4 @@ -# Copyright 2019 Eficent Business and IT Consulting Services, S.L. +# Copyright 2019 ForgeFlow S.L. (https://www.forgeflow.com) # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). import logging from odoo import api, SUPERUSER_ID diff --git a/mrp_multi_level/models/mrp_area.py b/mrp_multi_level/models/mrp_area.py index b7c426e2d..c7131b2ef 100644 --- a/mrp_multi_level/models/mrp_area.py +++ b/mrp_multi_level/models/mrp_area.py @@ -1,5 +1,5 @@ # © 2016 Ucamco - Wim Audenaert -# © 2016-19 Eficent Business and IT Consulting Services S.L. +# © 2016-19 ForgeFlow S.L. (https://www.forgeflow.com) # - Jordi Ballester Alomar # - Lois Rilo Antelo # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). diff --git a/mrp_multi_level/models/mrp_inventory.py b/mrp_multi_level/models/mrp_inventory.py index 43c44c9fe..03534fa3b 100644 --- a/mrp_multi_level/models/mrp_inventory.py +++ b/mrp_multi_level/models/mrp_inventory.py @@ -1,5 +1,5 @@ # © 2016 Ucamco - Wim Audenaert -# Copyright 2016-19 Eficent Business and IT Consulting Services S.L. +# Copyright 2016-19 ForgeFlow S.L. (https://www.forgeflow.com) # - Jordi Ballester Alomar # - Lois Rilo Antelo # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). diff --git a/mrp_multi_level/models/mrp_move.py b/mrp_multi_level/models/mrp_move.py index 059cd0416..e6fcc959a 100644 --- a/mrp_multi_level/models/mrp_move.py +++ b/mrp_multi_level/models/mrp_move.py @@ -1,5 +1,5 @@ # © 2016 Ucamco - Wim Audenaert -# © 2016-18 Eficent Business and IT Consulting Services S.L. +# © 2016-18 ForgeFlow S.L. (https://www.forgeflow.com) # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). from odoo import models, fields diff --git a/mrp_multi_level/models/mrp_planned_order.py b/mrp_multi_level/models/mrp_planned_order.py index e3ea1f67b..d89871f15 100644 --- a/mrp_multi_level/models/mrp_planned_order.py +++ b/mrp_multi_level/models/mrp_planned_order.py @@ -1,4 +1,4 @@ -# Copyright 2019 Eficent Business and IT Consulting Services S.L. +# Copyright 2019 ForgeFlow S.L. (https://www.forgeflow.com) # - Lois Rilo Antelo # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). from datetime import timedelta diff --git a/mrp_multi_level/models/product_mrp_area.py b/mrp_multi_level/models/product_mrp_area.py index 053612457..24b9140c0 100644 --- a/mrp_multi_level/models/product_mrp_area.py +++ b/mrp_multi_level/models/product_mrp_area.py @@ -1,5 +1,5 @@ # Copyright 2016 Ucamco - Wim Audenaert -# Copyright 2016-19 Eficent Business and IT Consulting Services S.L. +# Copyright 2016-19 ForgeFlow S.L. (https://www.forgeflow.com) # - Jordi Ballester Alomar # - Lois Rilo Antelo # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). diff --git a/mrp_multi_level/models/product_product.py b/mrp_multi_level/models/product_product.py index b52802067..989f56e12 100644 --- a/mrp_multi_level/models/product_product.py +++ b/mrp_multi_level/models/product_product.py @@ -1,5 +1,5 @@ # Copyright 2016 Ucamco - Wim Audenaert -# Copyright 2016-18 Eficent Business and IT Consulting Services S.L. +# Copyright 2016-18 ForgeFlow S.L. (https://www.forgeflow.com) # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). import ast from odoo import api, fields, models diff --git a/mrp_multi_level/models/product_template.py b/mrp_multi_level/models/product_template.py index bcea26a27..cc3b4eee9 100644 --- a/mrp_multi_level/models/product_template.py +++ b/mrp_multi_level/models/product_template.py @@ -1,4 +1,4 @@ -# Copyright 2018 Eficent Business and IT Consulting Services S.L. +# Copyright 2018 ForgeFlow S.L. (https://www.forgeflow.com) # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). import ast from odoo import api, fields, models diff --git a/mrp_multi_level/models/stock_location.py b/mrp_multi_level/models/stock_location.py index 3c574443c..757a48beb 100644 --- a/mrp_multi_level/models/stock_location.py +++ b/mrp_multi_level/models/stock_location.py @@ -1,5 +1,5 @@ # © 2016 Ucamco - Wim Audenaert -# © 2016 Eficent Business and IT Consulting Services S.L. +# © 2016 ForgeFlow S.L. (https://www.forgeflow.com) # - Jordi Ballester Alomar # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). diff --git a/mrp_multi_level/readme/CONTRIBUTORS.rst b/mrp_multi_level/readme/CONTRIBUTORS.rst index 63a6a5199..8c327e8ca 100644 --- a/mrp_multi_level/readme/CONTRIBUTORS.rst +++ b/mrp_multi_level/readme/CONTRIBUTORS.rst @@ -1,3 +1,4 @@ * Wim Audenaert -* Jordi Ballester -* Lois Rilo +* Jordi Ballester +* Lois Rilo +* Héctor Villarreal diff --git a/mrp_multi_level/readme/HISTORY.rst b/mrp_multi_level/readme/HISTORY.rst index c1596d26c..da410f9c8 100644 --- a/mrp_multi_level/readme/HISTORY.rst +++ b/mrp_multi_level/readme/HISTORY.rst @@ -1,3 +1,43 @@ +12.0.2.0.0 (2020-03-31) +~~~~~~~~~~~~~~~~~~~~~~~ +* Improving the management of planned orders: + + * Add menu entry for planned orders + * Add button to navigate from planned orders to linked manufacturing orders + * Add action to convert planned orders to fixed + * When changing the due date in a planned order the release date is recomputed + +* [IMP] Minor changes" + (`#470 `_). + + * Planned Order release and due date become required. + * Add button to Product MRP Area to update MOQ from Supplier Info. + * Link Manufacturing Orders with Planned Orders. + * Allow Mrp Inventory Procure Wizard to be used from other models. + * Make MRP Inventory creation more extensible. + * Main Supplier computation (v13 requires explicit False definitions) + +* [IMP] Minor changes + (`#468 `_). + + * Planned Orders become fixed on manual creation by default + * Released Quantity becomes readonly + * Add product reference if Planned Order name is not defined on bom explosion + +* [FIX] Minor changes + (`#469 `_). + + * Fix Main supplier computation in multi company + * Drop Triplicated field in search view + + +* [IMP] Minor changes + (`#463 `_). + + * Show supply method on MRP Inventory + * Allow no-MRP users to look into Products + + 12.0.1.0.0 (2019-08-05) ~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/mrp_multi_level/static/description/index.html b/mrp_multi_level/static/description/index.html index 493ebe4f0..cc5b73f2d 100644 --- a/mrp_multi_level/static/description/index.html +++ b/mrp_multi_level/static/description/index.html @@ -3,7 +3,7 @@ - + MRP Multi Level