diff --git a/mrp_product_characterisation/README.rst b/mrp_product_characterisation/README.rst index 7624a81d3..cfa555cf8 100644 --- a/mrp_product_characterisation/README.rst +++ b/mrp_product_characterisation/README.rst @@ -7,7 +7,7 @@ MRP Product Characterisation !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:0ae9b4c5cea6c28dcc86b2ac432cb648313f788951ac4097473d468f264ff6ec + !! source digest: sha256:b585ec95c2b4eaec64e8d2412f583b1715e3ddc61c1572ebdf7933d6ea3d097f !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -28,7 +28,8 @@ MRP Product Characterisation |badge1| |badge2| |badge3| |badge4| |badge5| -Adds characterisation "Intermediate Products" and adjust Components characterisation. +Adds characterisation "Intermediate Products" and adjust Components characterisation for Products. +Adds BoM filter with theses characterisations. Intermediate products : contained in a BoM AND manufactured (has a BoM) Component products : contained in a BoM AND NOT manufactured (has no BoM) diff --git a/mrp_product_characterisation/__manifest__.py b/mrp_product_characterisation/__manifest__.py index f131595d0..37b68647a 100644 --- a/mrp_product_characterisation/__manifest__.py +++ b/mrp_product_characterisation/__manifest__.py @@ -14,6 +14,7 @@ "mrp", ], "data": [ + "views/view_mrp_bom.xml", "views/view_product_product.xml", "views/view_product_template.xml", ], diff --git a/mrp_product_characterisation/i18n/fr.po b/mrp_product_characterisation/i18n/fr.po index afd29ab89..8792719b4 100644 --- a/mrp_product_characterisation/i18n/fr.po +++ b/mrp_product_characterisation/i18n/fr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-08 16:53+0000\n" -"PO-Revision-Date: 2024-04-08 16:53+0000\n" +"POT-Creation-Date: 2024-07-25 15:04+0000\n" +"PO-Revision-Date: 2024-07-25 15:04+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -15,6 +15,16 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. module: mrp_product_characterisation +#: model_terms:ir.ui.view,arch_db:mrp_product_characterisation.view_mrp_bom_search +msgid "BoM for finished product" +msgstr "Fiche technique pour produit fini" + +#. module: mrp_product_characterisation +#: model_terms:ir.ui.view,arch_db:mrp_product_characterisation.view_mrp_bom_search +msgid "BoM for intermediate product" +msgstr "Fiche technique pour produit intermédiaire" + #. module: mrp_product_characterisation #: model_terms:ir.ui.view,arch_db:mrp_product_characterisation.view_mrp_product_product_search #: model_terms:ir.ui.view,arch_db:mrp_product_characterisation.view_mrp_product_template_search @@ -46,8 +56,9 @@ msgid "" "Is component a product which has no BoM based on it + is used " "in a BoM line" msgstr "" -"Est une matière première tout produit qui n'a pas de Fiche technique basée sur elle + qui est utilisé " -"dans une Fiche technique comme composant" +"Est une matière première tout produit qui n'a pas de Fiche technique basée " +"sur elle + qui est utilisé dans une Fiche technique comme " +"composant" #. module: mrp_product_characterisation #: model:ir.model.fields,help:mrp_product_characterisation.field_product_product__is_intermediate @@ -56,8 +67,9 @@ msgid "" "Is intermediate a product which has a BoM based on it + is used" " in a BoM line" msgstr "" -"Est un produit intermédiaire tout produit qui a une Fiche technique basée sur elle + qui est utilisé " -"dans une Fiche technique comme composant" +"Est un produit intermédiaire tout produit qui a une Fiche technique basée " +"sur elle + qui est utilisé dans une Fiche technique comme " +"composant" #. module: mrp_product_characterisation #: model:ir.model,name:mrp_product_characterisation.model_product_template @@ -67,4 +79,4 @@ msgstr "Produit" #. module: mrp_product_characterisation #: model:ir.model,name:mrp_product_characterisation.model_product_product msgid "Product Variant" -msgstr "Variante de produit" +msgstr "Variante de produit" \ No newline at end of file diff --git a/mrp_product_characterisation/readme/DESCRIPTION.rst b/mrp_product_characterisation/readme/DESCRIPTION.rst index 7dae7fbaa..2d05f2cba 100644 --- a/mrp_product_characterisation/readme/DESCRIPTION.rst +++ b/mrp_product_characterisation/readme/DESCRIPTION.rst @@ -1,4 +1,5 @@ -Adds characterisation "Intermediate Products" and adjust Components characterisation. +Adds characterisation "Intermediate Products" and adjust Components characterisation for Products. +Adds BoM filter with theses characterisations. Intermediate products : contained in a BoM AND manufactured (has a BoM) Component products : contained in a BoM AND NOT manufactured (has no BoM) diff --git a/mrp_product_characterisation/static/description/index.html b/mrp_product_characterisation/static/description/index.html index 7c936847e..32f0a5681 100644 --- a/mrp_product_characterisation/static/description/index.html +++ b/mrp_product_characterisation/static/description/index.html @@ -9,10 +9,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. @@ -275,7 +276,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 } @@ -301,7 +302,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -367,10 +368,11 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:0ae9b4c5cea6c28dcc86b2ac432cb648313f788951ac4097473d468f264ff6ec +!! source digest: sha256:b585ec95c2b4eaec64e8d2412f583b1715e3ddc61c1572ebdf7933d6ea3d097f !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/manufacture Translate me on Weblate Try me on Runboat

-

Adds characterisation “Intermediate Products” and adjust Components characterisation.

+

Adds characterisation “Intermediate Products” and adjust Components characterisation for Products. +Adds BoM filter with theses characterisations.

Intermediate products : contained in a BoM AND manufactured (has a BoM) Component products : contained in a BoM AND NOT manufactured (has no BoM)

For example in bakeries, leavening is a intermediate product, and buckwheat flour @@ -415,7 +417,9 @@ 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.

diff --git a/mrp_product_characterisation/views/view_mrp_bom.xml b/mrp_product_characterisation/views/view_mrp_bom.xml new file mode 100644 index 000000000..888954469 --- /dev/null +++ b/mrp_product_characterisation/views/view_mrp_bom.xml @@ -0,0 +1,33 @@ + + + + + + + + + mrp.bom + + + + + + + + + + + +