Skip to content

Commit

Permalink
[16.0][ADD] mrp_bom_simple_packaging_description
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinDupont committed Dec 20, 2024
1 parent 3271ae2 commit fdc6c9b
Show file tree
Hide file tree
Showing 14 changed files with 607 additions and 0 deletions.
79 changes: 79 additions & 0 deletions mrp_bom_simple_packaging_description/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
====================================
MRP BoM Simple Packagind Description
====================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:2f6f3beb5d5bef2fab3041499a5003783390922d6585171f7daedcdcccb2d6a5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/16.0/mrp_bom_simple_packaging_description
:alt: OCA/manufacture
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/manufacture-16-0/manufacture-16-0-mrp_bom_simple_packaging_description
: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=16.0
:alt: Try me on Runboat

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

Adds a text field in BoM for packaging description.

.. figure:: https://raw.githubusercontent.com/OCA/manufacture/16.0/mrp_bom_simple_packaging_description/static/description/mrp_bom_simple_description_packaging.jpeg

**Table of contents**

.. contents::
:local:

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_simple_packaging_description%0Aversion:%2016.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
~~~~~~~~~~~~

* Quentin Dupont ([email protected])

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.

This module is part of the `OCA/manufacture <https://github.com/OCA/manufacture/tree/16.0/mrp_bom_simple_packaging_description>`_ 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_simple_packaging_description/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions mrp_bom_simple_packaging_description/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (C) 2022 - Today: GRAP (http://www.grap.coop)
# @author: Quentin Dupont ([email protected])
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "MRP BoM Simple Packagind Description",
"summary": "Adds a text field in BoM for packaging description.",
"version": "16.0.1.0.0",
"category": "Manufacture",
"author": "GRAP, , Odoo Community Association (OCA)",
"website": "https://github.com/OCA/manufacture",
"license": "AGPL-3",
"depends": [
"mrp",
],
"data": [
"views/view_mrp_bom.xml",
],
"installable": True,
}
31 changes: 31 additions & 0 deletions mrp_bom_simple_packaging_description/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_bom_simple_packaging_description
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-20 15:21+0000\n"
"PO-Revision-Date: 2024-12-20 15:21+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

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

#. module: mrp_bom_simple_packaging_description
#: model:ir.model.fields,help:mrp_bom_simple_packaging_description.field_mrp_bom__description_packaging
msgid "Describe your Packaging. E.g. : Small Packet 250g."
msgstr "Décrire le conditionnement. Ex: petit paquet 250g."

#. module: mrp_bom_simple_packaging_description
#: model:ir.model.fields,field_description:mrp_bom_simple_packaging_description.field_mrp_bom__description_packaging
msgid "Packaging description"
msgstr "Description de conditionnement"
1 change: 1 addition & 0 deletions mrp_bom_simple_packaging_description/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import mrp_bom
14 changes: 14 additions & 0 deletions mrp_bom_simple_packaging_description/models/mrp_bom.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (C) 2024 - Today: GRAP (http://www.grap.coop)
# @author: Quentin DUPONT ([email protected])
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from odoo import fields, models


class MrpBom(models.Model):
_inherit = "mrp.bom"

description_packaging = fields.Char(
string="Packaging description",
help="Describe your Packaging. E.g. : Small Packet 250g.",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Quentin Dupont ([email protected])
3 changes: 3 additions & 0 deletions mrp_bom_simple_packaging_description/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Adds a text field in BoM for packaging description.

.. figure:: ../static/description/mrp_bom_simple_description_packaging.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit fdc6c9b

Please sign in to comment.