diff --git a/mrp_multi_level/README.rst b/mrp_multi_level/README.rst index e53f3f1b9..a991b1a33 100644 --- a/mrp_multi_level/README.rst +++ b/mrp_multi_level/README.rst @@ -38,16 +38,16 @@ and explodes this down to the lowest level. Key Features ------------ -- MRP parameters set by product variant MRP area pairs. -- Cron job to calculate the MRP demand. -- Manually calculate the MRP demand. -- Confirm the calculated MRP demand and create PO's, or MO's. -- Able to see the products for which action is needed throught Planned - Orders. -- Integration with `Stock Demand - Estimates `__ - system. Note: You need to install `mrp_multi_level_estimate - module `__. +- MRP parameters set by product variant MRP area pairs. +- Cron job to calculate the MRP demand. +- Manually calculate the MRP demand. +- Confirm the calculated MRP demand and create PO's, or MO's. +- Able to see the products for which action is needed throught Planned + Orders. +- Integration with `Stock Demand + Estimates `__ + system. Note: You need to install `mrp_multi_level_estimate + module `__. **Table of contents** @@ -60,14 +60,14 @@ Configuration MRP Areas --------- -- Go to *Manufacturing > Configuration > MRP Areas* and define or edit - any existing area. You can specify the working hours for every area. +- Go to *Manufacturing > Configuration > MRP Areas* and define or edit + any existing area. You can specify the working hours for every area. Product MRP Area Parameters --------------------------- -- Go to *Manufacturing > Master Data > Product MRP Area Parameters* and - set the MRP parameters for a given product and area. +- Go to *Manufacturing > Master Data > Product MRP Area Parameters* and + set the MRP parameters for a given product and area. Usage ===== @@ -93,123 +93,124 @@ Changelog **Features** -- Show *Run MRP Multi Level* menu only to a specific new security group - *Run MRP Manually*. - (`#492 `__) +- Show *Run MRP Multi Level* menu only to a specific new security group + *Run MRP Manually*. + (`#492 `__) 13.0.1.4.0 (2020-03-26) ----------------------- - - 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 + - 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 13.0.1.3.0 (2020-03-02) ----------------------- -- [IMP] Minor changes" - (`#470 `__). +- [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) + - 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) 13.0.1.2.0 (2020-02-20) ----------------------- -- [IMP] Minor changes - (`#468 `__). +- [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 + - 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 13.0.1.1.0 (2020-02-21) ----------------------- -- [FIX] Minor changes - (`#469 `__). +- [FIX] Minor changes + (`#469 `__). - - Fix Main supplier computation in multi company - - Drop Triplicated field in search view + - Fix Main supplier computation in multi company + - Drop Triplicated field in search view -- [IMP] Minor changes - (`#463 `__). +- [IMP] Minor changes + (`#463 `__). - - Show supply method on MRP Inventory - - Allow no-MRP users to look into Products + - Show supply method on MRP Inventory + - Allow no-MRP users to look into Products 13.0.1.0.0 (2019-12-18) ----------------------- -- [MIG] Migration to v13. +- [MIG] Migration to v13. 12.0.1.0.0 (2019-08-05) ----------------------- -- [MIG] Migration to v12: +- [MIG] Migration to v12: - - Estimates as a forecasting mechanism is moved to a new module - (mrp_multi_level_estimate). + - Estimates as a forecasting mechanism is moved to a new module + (mrp_multi_level_estimate). 11.0.3.0.0 (2019-05-22) ----------------------- -- [REW/IMP] Rework to include Planned Orders. - (`#365 `__). -- [IMP] Able to procure from a different location than the area's - location. +- [REW/IMP] Rework to include Planned Orders. + (`#365 `__). +- [IMP] Able to procure from a different location than the area's + location. 11.0.2.2.0 (2019-05-02) ----------------------- -- [IMP] Able to run MRP only for selected areas. - (`#360 `__). +- [IMP] Able to run MRP only for selected areas. + (`#360 `__). 11.0.2.1.0 (2019-04-02) ----------------------- -- [IMP] Implement *Nbr. Days* functionality to be able to group demand - when generating supply proposals. - (`#345 `__). +- [IMP] Implement *Nbr. Days* functionality to be able to group demand + when generating supply proposals. + (`#345 `__). 11.0.2.0.0 (2018-11-20) ----------------------- -- [REW] Refactor MRP Area. - (`#322 `__): +- [REW] Refactor MRP Area. + (`#322 `__): - - MRP product concept dropped in favor of *Product MRP Area - Parameters*. This allow to set different MRP parameters for the same - product in different areas. - - Menu items reordering. + - MRP product concept dropped in favor of *Product MRP Area + Parameters*. This allow to set different MRP parameters for the + same product in different areas. + - Menu items reordering. 11.0.1.1.0 (2018-08-30) ----------------------- -- [FIX] Consider *Qty Multiple* on product to propose the quantity to - procure. (`#297 `__) +- [FIX] Consider *Qty Multiple* on product to propose the quantity to + procure. (`#297 `__) 11.0.1.0.1 (2018-08-03) ----------------------- -- [FIX] User and system locales doesn't break MRP calculation. - (`#290 `__) -- [FIX] Working Hours are now defined only at Warehouse level and - displayed as a related on MRP Areas. - (`#290 `__) +- [FIX] User and system locales doesn't break MRP calculation. + (`#290 `__) +- [FIX] Working Hours are now defined only at Warehouse level and + displayed as a related on MRP Areas. + (`#290 `__) 11.0.1.0.0 (2018-07-09) ----------------------- -- Start of the history. +- Start of the history. Bug Tracker =========== @@ -233,13 +234,13 @@ Authors Contributors ------------ -- Wim Audenaert -- Jordi Ballester -- Lois Rilo -- Héctor Villarreal -- Christopher Ormaza -- Joan Sisquella -- Alexandre Fayolle +- Wim Audenaert +- Jordi Ballester +- Lois Rilo +- Héctor Villarreal +- Christopher Ormaza +- Joan Sisquella +- Alexandre Fayolle Maintainers ----------- @@ -260,13 +261,10 @@ promote its widespread use. .. |maintainer-LoisRForgeFlow| image:: https://github.com/LoisRForgeFlow.png?size=40px :target: https://github.com/LoisRForgeFlow :alt: LoisRForgeFlow -.. |maintainer-ChrisOForgeFlow| image:: https://github.com/ChrisOForgeFlow.png?size=40px - :target: https://github.com/ChrisOForgeFlow - :alt: ChrisOForgeFlow Current `maintainers `__: -|maintainer-JordiBForgeFlow| |maintainer-LoisRForgeFlow| |maintainer-ChrisOForgeFlow| +|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 4870e82e6..d049bab9c 100644 --- a/mrp_multi_level/__manifest__.py +++ b/mrp_multi_level/__manifest__.py @@ -8,7 +8,7 @@ "development_status": "Production/Stable", "license": "LGPL-3", "author": "Ucamco, ForgeFlow, Odoo Community Association (OCA)", - "maintainers": ["JordiBForgeFlow", "LoisRForgeFlow", "ChrisOForgeFlow"], + "maintainers": ["JordiBForgeFlow", "LoisRForgeFlow"], "summary": "Adds an MRP Scheduler", "website": "https://github.com/OCA/manufacture", "category": "Manufacturing", diff --git a/mrp_multi_level/models/product_mrp_area.py b/mrp_multi_level/models/product_mrp_area.py index e6153a005..ad812efc7 100644 --- a/mrp_multi_level/models/product_mrp_area.py +++ b/mrp_multi_level/models/product_mrp_area.py @@ -22,7 +22,10 @@ class ProductMRPArea(models.Model): store=True, ) product_id = fields.Many2one( - comodel_name="product.product", required=True, string="Product" + comodel_name="product.product", + required=True, + string="Product", + ondelete="cascade", ) product_tmpl_id = fields.Many2one( comodel_name="product.template", diff --git a/mrp_multi_level/static/description/index.html b/mrp_multi_level/static/description/index.html index 824e7ba68..eb66db553 100644 --- a/mrp_multi_level/static/description/index.html +++ b/mrp_multi_level/static/description/index.html @@ -8,11 +8,10 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ +:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. -Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +274,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: gray; } /* line numbers */ +pre.code .ln { color: grey; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +300,7 @@ span.option { span.pre { white-space: pre } -span.problematic, pre.problematic { +span.problematic { color: red } span.section-subtitle { @@ -464,7 +463,8 @@ recomputed
  • 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)
  • +
  • Main Supplier computation (v13 requires explicit False +definitions)
  • @@ -545,8 +545,8 @@ when generating supply proposals.
  • [REW] Refactor MRP Area. (#322):
    • MRP product concept dropped in favor of Product MRP Area -Parameters. This allow to set different MRP parameters for the same -product in different areas.
    • +Parameters. This allow to set different MRP parameters for the +same product in different areas.
    • Menu items reordering.
  • @@ -608,14 +608,12 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

    Maintainers

    This module is maintained by the OCA.

    - -Odoo Community Association - +Odoo Community Association

    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.

    Current maintainers:

    -

    JordiBForgeFlow LoisRForgeFlow ChrisOForgeFlow

    +

    JordiBForgeFlow LoisRForgeFlow

    This module is part of the OCA/manufacture project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.