Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] mrp_bom_widget_section_and_note_one2many: Migration to 18.0 #1440

Open
wants to merge 20 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
252a040
[ADD] Sections and Notes on BoM
quentinDupont May 12, 2022
9c4fa6d
[IMP] constrains, roadmap, flake8
quentinDupont Jun 22, 2022
e240baf
rebase and precommit
quentinDupont Oct 2, 2023
b70cc97
[UPD] Update mrp_bom_widget_section_and_note_one2many.pot
Nov 10, 2023
3a383a2
[BOT] post-merge updates
OCA-git-bot Nov 10, 2023
94cd6fe
Added translation using Weblate (Italian)
mymage Nov 13, 2023
446fc3c
Translated using Weblate (Italian)
mymage Nov 17, 2023
23f91f3
[IMP] mrp_bom_widget_section_and_note_one2many: apply pre-commit auto…
quentinDupont Feb 2, 2024
9632e69
[IMP] mrp_bom_widget_section_and_note_one2many: pre-commit execution
quentinDupont Feb 2, 2024
706d7ff
[MIG] mrp_bom_widget_section_and_note_one2many: Migration to 16.0
quentinDupont Feb 2, 2024
18781a1
[FIX] no need uom right anymore
quentinDupont Feb 29, 2024
00e01cb
[IMP] shorter page name
quentinDupont Mar 1, 2024
1f7dde2
add me in maintainers
quentinDupont Jul 1, 2024
30b6670
[FIX] mrp_bom: fix tests, not hiding default page anymore
quentinDupont Jul 2, 2024
cffb30c
[UPD] Update mrp_bom_widget_section_and_note_one2many.pot
Nov 13, 2024
7924a04
[BOT] post-merge updates
OCA-git-bot Nov 13, 2024
515712f
Update translation files
weblate Nov 13, 2024
c1cbd15
Translated using Weblate (Italian)
mymage Nov 14, 2024
a55b156
[IMP] mrp_bom_widget_section_and_note_one2many: pre-commit auto fixes
HeliconiaSolutions Jan 3, 2025
13652de
[MIG] mrp_bom_widget_section_and_note_one2many: Migration to 18.0
HeliconiaSolutions Jan 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 117 additions & 0 deletions mrp_bom_widget_section_and_note_one2many/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
==================================
MRP Widget Section and Note in BoM
==================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:63a15ea536f0957f0fc9c888073363e9def8a2984daa7d14d663325076e43c37
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmanufacture-lightgray.png?logo=github
:target: https://github.com/OCA/manufacture/tree/18.0/mrp_bom_widget_section_and_note_one2many
:alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/manufacture-18-0/manufacture-18-0-mrp_bom_widget_section_and_note_one2many
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/manufacture&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

In a similar way to invoices, this module adds the possibility to add
sections ands notes in Bills of Materials. It adds a page in BoM form
view and hide the orignal page (you can see it as admin in debug mode)

Depends on account module since widget 'section_and_note' is defined on
section_and_note_fields_backend.js in account module.

**Table of contents**

.. contents::
:local:

Usage
=====

- Go to Manufacture / Master Data / Bill Of Materials
- Edit one demo data
- Add a section or note and saved
- The new functionality is added in a transparent way and is compatible
with the business logic of other MRP functionalities

|image1|

.. |image1| image:: https://raw.githubusercontent.com/OCA/manufacture/18.0/mrp_bom_widget_section_and_note_one2many/static/description/mrp_bom_widget_add_section_and_note.gif

Known issues / Roadmap
======================

mrp_bom_component_menu module (and maybe more) displays bom lines and it
display lines of sections and note, with product_id empty. It should not
display theses lines

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/manufacture/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/manufacture/issues/new?body=module:%20mrp_bom_widget_section_and_note_one2many%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* GRAP

Contributors
------------

- BADEP
- Quentin Dupont ([email protected])
- Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>

Other credits
-------------

- Code inspired by BADEP repo in v14
https://github.com/BADEP/addons/blob/14.0/mrp_bom_section

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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-quentinDupont| image:: https://github.com/quentinDupont.png?size=40px
:target: https://github.com/quentinDupont
:alt: quentinDupont

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-quentinDupont|

This module is part of the `OCA/manufacture <https://github.com/OCA/manufacture/tree/18.0/mrp_bom_widget_section_and_note_one2many>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions mrp_bom_widget_section_and_note_one2many/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
23 changes: 23 additions & 0 deletions mrp_bom_widget_section_and_note_one2many/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright (C) 2022 - Today: GRAP (http://www.grap.coop)
# @author: BADEP
# @author: Quentin Dupont ([email protected])
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "MRP Widget Section and Note in BoM",
"summary": "Add section and note in Bills of Materials",
"version": "18.0.1.0.0",
"category": "Manufacturing/Manufacturing",
"author": "GRAP," "Odoo Community Association (OCA)",
"maintainers": ["quentinDupont"],
"website": "https://github.com/OCA/manufacture",
"license": "AGPL-3",
"depends": [
"mrp",
"account",
],
"data": [
"views/view_mrp_bom.xml",
],
"installable": True,
}
131 changes: 131 additions & 0 deletions mrp_bom_widget_section_and_note_one2many/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_bom_widget_section_and_note_one2many
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-05-10 15:01+0000\n"
"PO-Revision-Date: 2022-05-10 15:01+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: mrp_bom_widget_section_and_note_one2many
#: model_terms:ir.ui.view,arch_db:mrp_bom_widget_section_and_note_one2many.mrp_bom_form_view_section
msgid "Add a note"
msgstr "Ajouter une note"

#. module: mrp_bom_widget_section_and_note_one2many
#: model_terms:ir.ui.view,arch_db:mrp_bom_widget_section_and_note_one2many.mrp_bom_form_view_section
msgid "Add a product"
msgstr "Ajouter un produit"

#. module: mrp_bom_widget_section_and_note_one2many
#: model_terms:ir.ui.view,arch_db:mrp_bom_widget_section_and_note_one2many.mrp_bom_form_view_section
msgid "Add a section"
msgstr "Ajouter une section"

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model,name:mrp_bom_widget_section_and_note_one2many.model_mrp_bom
msgid "Bill of Material"
msgstr "Nomenclature"

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model,name:mrp_bom_widget_section_and_note_one2many.model_mrp_bom_line
msgid "Bill of Material Line"
msgstr "Ligne de nomenclature"

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model.fields,field_description:mrp_bom_widget_section_and_note_one2many.field_mrp_bom__bom_line_ids
msgid "BoM Lines"
msgstr "Lignes de nomenclature"

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model.fields,field_description:mrp_bom_widget_section_and_note_one2many.field_mrp_bom__bom_line_with_sectionnote_ids
msgid "BoM Lines With Sections & Notes"
msgstr "Lignes de nomenclature avec Sections & Notes"

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model.fields,field_description:mrp_bom_widget_section_and_note_one2many.field_mrp_bom_line__product_id
msgid "Component"
msgstr "Composant"

#. module: mrp_bom_widget_section_and_note_one2many
#: model_terms:ir.ui.view,arch_db:mrp_bom_widget_section_and_note_one2many.mrp_bom_form_view_section
msgid "Components and sections"
msgstr "Composants avec sections"

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model.fields,field_description:mrp_bom_widget_section_and_note_one2many.field_mrp_bom_line__name
msgid "Description"
msgstr ""

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model.fields,field_description:mrp_bom_widget_section_and_note_one2many.field_mrp_bom_line__display_type
msgid "Display Type"
msgstr "Type d'affichage"

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model.constraint,message:mrp_bom_widget_section_and_note_one2many.constraint_mrp_bom_line_non_bom_null_fields
msgid "Forbidden values on note and section bom line"
msgstr ""

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model.constraint,message:mrp_bom_widget_section_and_note_one2many.constraint_mrp_bom_line_bom_required_field_uom
msgid "Missing required field on bom line : uom."
msgstr ""

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model.constraint,message:mrp_bom_widget_section_and_note_one2many.constraint_mrp_bom_line_bom_required_fields_product_qty
msgid "Missing required fields on bom line : product and quantity."
msgstr ""

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model.fields.selection,name:mrp_bom_widget_section_and_note_one2many.selection__mrp_bom_line__display_type__line_note
msgid "Note"
msgstr ""

#. module: mrp_bom_widget_section_and_note_one2many
#: model_terms:ir.ui.view,arch_db:mrp_bom_widget_section_and_note_one2many.mrp_bom_form_view_section
msgid "Product Attachments"
msgstr ""

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model.fields,field_description:mrp_bom_widget_section_and_note_one2many.field_mrp_bom_line__product_uom_id
msgid "Product Unit of Measure"
msgstr ""

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model.fields.selection,name:mrp_bom_widget_section_and_note_one2many.selection__mrp_bom_line__display_type__line_section
msgid "Section"
msgstr ""

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model.fields,help:mrp_bom_widget_section_and_note_one2many.field_mrp_bom_line__display_type
msgid "Technical field for UX purpose."
msgstr "Champ technique utilisé à des fins ergonomiques"

#. module: mrp_bom_widget_section_and_note_one2many
#: model:ir.model.fields,help:mrp_bom_widget_section_and_note_one2many.field_mrp_bom_line__product_uom_id
msgid ""
"Unit of Measure (Unit of Measure) is the unit of measurement for the "
"inventory control"
msgstr ""

#~ msgid "Attachments"
#~ msgstr "Pièces jointes"

#~ msgid "Components"
#~ msgstr "Composants"

#~ msgid "No attachment"
#~ msgstr "Pas de pièces jointes"

#~ msgid "Quantity"
#~ msgstr "Quantité"
Loading
Loading