From f719eec6b48d37af317e971dd3f676ed5a6429fa Mon Sep 17 00:00:00 2001 From: Mathieu Date: Thu, 5 Sep 2024 16:58:11 +0200 Subject: [PATCH 1/2] [ADD] notes from bom on report_mrporder --- mrp_bom_note/README.rst | 1 + mrp_bom_note/__manifest__.py | 5 ++++- mrp_bom_note/readme/CONTRIBUTORS.rst | 1 + mrp_bom_note/static/description/index.html | 12 ++++++++---- mrp_bom_note/views/mrp_production_templates.xml | 13 +++++++++++++ 5 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 mrp_bom_note/views/mrp_production_templates.xml diff --git a/mrp_bom_note/README.rst b/mrp_bom_note/README.rst index ab47d40cc..b0d145c78 100644 --- a/mrp_bom_note/README.rst +++ b/mrp_bom_note/README.rst @@ -74,6 +74,7 @@ Contributors * Agung Rachmatullah * Laurent Bélorgey * Pimolnat Suntian +* Mathieu Delva Maintainers ~~~~~~~~~~~ diff --git a/mrp_bom_note/__manifest__.py b/mrp_bom_note/__manifest__.py index 6422f0053..50d906906 100644 --- a/mrp_bom_note/__manifest__.py +++ b/mrp_bom_note/__manifest__.py @@ -12,6 +12,9 @@ "website": "https://github.com/OCA/manufacture", "category": "Manufacturing", "depends": ["mrp"], - "data": ["views/mrp_bom_view.xml"], + "data": [ + "views/mrp_bom_view.xml", + "views/mrp_production_templates.xml", + ], "installable": True, } diff --git a/mrp_bom_note/readme/CONTRIBUTORS.rst b/mrp_bom_note/readme/CONTRIBUTORS.rst index 1d5c9567d..d66a0aaf5 100644 --- a/mrp_bom_note/readme/CONTRIBUTORS.rst +++ b/mrp_bom_note/readme/CONTRIBUTORS.rst @@ -5,3 +5,4 @@ * Agung Rachmatullah * Laurent Bélorgey * Pimolnat Suntian +* Mathieu Delva diff --git a/mrp_bom_note/static/description/index.html b/mrp_bom_note/static/description/index.html index f1b99aac4..8cf92b56c 100644 --- a/mrp_bom_note/static/description/index.html +++ b/mrp_bom_note/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z 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. @@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* 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 } @@ -300,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -420,12 +421,15 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
  • Agung Rachmatullah <agung.rachmatullah@ymail.com>
  • Laurent Bélorgey <lb@lalieutenante.com>
  • Pimolnat Suntian <pimolnats@ecosoft.co.th>
  • +
  • Mathieu Delva <mathieu.delva@akretion.com>
  • 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.

    diff --git a/mrp_bom_note/views/mrp_production_templates.xml b/mrp_bom_note/views/mrp_production_templates.xml new file mode 100644 index 000000000..1b457e35f --- /dev/null +++ b/mrp_bom_note/views/mrp_production_templates.xml @@ -0,0 +1,13 @@ + + + + From 2d6951c418c6f0fcf8126e5e320be2767e350109 Mon Sep 17 00:00:00 2001 From: Mathieu Date: Mon, 9 Sep 2024 13:45:43 +0200 Subject: [PATCH 2/2] [UPD] mrp_production_templates --- mrp_bom_note/views/mrp_production_templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrp_bom_note/views/mrp_production_templates.xml b/mrp_bom_note/views/mrp_production_templates.xml index 1b457e35f..e0b0764e2 100644 --- a/mrp_bom_note/views/mrp_production_templates.xml +++ b/mrp_bom_note/views/mrp_production_templates.xml @@ -5,7 +5,7 @@ expr="//t[@t-call='mrp.report_mrp_production_components']" position="after" > -
    +