mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[16.0][IMP] mrp_product_characterisation: add mrp_bom filters
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"mrp",
|
||||
],
|
||||
"data": [
|
||||
"views/view_mrp_bom.xml",
|
||||
"views/view_product_product.xml",
|
||||
"views/view_product_template.xml",
|
||||
],
|
||||
|
||||
@@ -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"
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/manufacture/tree/16.0/mrp_product_characterisation"><img alt="OCA/manufacture" src="https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_product_characterisation"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/manufacture&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>Adds characterisation “Intermediate Products” and adjust Components characterisation.</p>
|
||||
<p>Adds characterisation “Intermediate Products” and adjust Components characterisation for Products.
|
||||
Adds BoM filter with theses characterisations.</p>
|
||||
<p>Intermediate products : contained in a BoM AND manufactured (has a BoM)
|
||||
Component products : contained in a BoM AND NOT manufactured (has no BoM)</p>
|
||||
<p>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
|
||||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org">
|
||||
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
||||
</a>
|
||||
<p>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.</p>
|
||||
|
||||
33
mrp_product_characterisation/views/view_mrp_bom.xml
Normal file
33
mrp_product_characterisation/views/view_mrp_bom.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Copyright (C) 2024 - Today: GRAP (http://www.grap.coop)
|
||||
@author: Quentin DUPONT (quentin.dupont@grap.coop)
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<!-- ************************************************************ -->
|
||||
<!-- Bill of Materials - search filters -->
|
||||
<!-- ************************************************************ -->
|
||||
<record id="view_mrp_bom_search" model="ir.ui.view">
|
||||
<field name="model">mrp.bom</field>
|
||||
<field name="inherit_id" ref="mrp.view_mrp_bom_filter" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//filter[@name='normal']" position="after">
|
||||
<separator />
|
||||
<filter
|
||||
string="BoM for intermediate product"
|
||||
name="filter_product_intermediate"
|
||||
domain="[('product_tmpl_id.is_intermediate', '=', True)]"
|
||||
/>
|
||||
<filter
|
||||
string="BoM for finished product"
|
||||
name="filter_product_finished"
|
||||
domain="[('product_tmpl_id.sale_ok', '=', True)]"
|
||||
/>
|
||||
<separator />
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user