Skip to content

Commit

Permalink
Merge branch '16.0' into mrp-addons16-warning_mrp
Browse files Browse the repository at this point in the history
  • Loading branch information
anajuaristi authored Nov 27, 2024
2 parents 15cad5e + 6dd1b66 commit d9179a5
Show file tree
Hide file tree
Showing 71 changed files with 2,258 additions and 18 deletions.
32 changes: 32 additions & 0 deletions mrp_product_loss/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

================
MRP product loss
================

* In product new field "Loss in products to be consumed".
* In the components of the BOMs, show the product loss.
* When a manufacturing order is confirmed, the quantity to be consumed will be
the quantity to be consumed given to us by the system, plus the loss defined
in the product.

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

Bugs are tracked on `GitHub Issues
<https://github.com/avanzosc/mrp-addons/issues>`_. In case of trouble,
please check there if your issue has already been reported. If you spotted
it first, help us smash it by providing detailed and welcomed feedback.

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

Credits
=======

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

* Alfredo de la Fuente <[email protected]>
* Ana Juaristi <[email protected]>
1 change: 1 addition & 0 deletions mrp_product_loss/__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_product_loss/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024 Alfredo de la Fuente - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
{
"name": "MRP Product loss",
"version": "16.0.1.0.0",
"category": "Manufacturing/Manufacturing",
"license": "AGPL-3",
"author": "AvanzOSC",
"website": "https://github.com/avanzosc/mrp-addons",
"depends": [
"mrp",
],
"data": [
"views/product_template_views.xml",
"views/mrp_bom_views.xml",
"views/mrp_production_views.xml",
"views/stock_move_views.xml",
],
"installable": True,
}
65 changes: 65 additions & 0 deletions mrp_product_loss/i18n/ca_ES.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_product_loss
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-23 07:30+0000\n"
"PO-Revision-Date: 2024-10-23 07:30+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_product_loss
#: model:ir.model,name:mrp_product_loss.model_mrp_bom_line
msgid "Bill of Material Line"
msgstr "Línia de Llista de Materials"

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_move__product_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_reservation__product_loss_qty
#: model_terms:ir.ui.view,arch_db:mrp_product_loss.mrp_bom_form_view
msgid "Loss Quantity"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_product_product__product_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_product_template__product_loss_qty
msgid "Loss in products to be consumed"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_mrp_bom_line__product_loss_qty
msgid "Loss quantity"
msgstr ""

#. module: mrp_product_loss
#: model_terms:ir.ui.view,arch_db:mrp_product_loss.view_template_property_form
msgid "Manufacturing"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_product_template
msgid "Product"
msgstr "Producte"

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_mrp_production
msgid "Production Order"
msgstr "Ordre de producció"

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_stock_move
msgid "Stock Move"
msgstr "Moviment d'estoc"

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_move__to_consume_before_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_reservation__to_consume_before_loss_qty
msgid "To Consume Before Loss Quantity"
msgstr ""
65 changes: 65 additions & 0 deletions mrp_product_loss/i18n/en_GB.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_product_loss
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-23 07:30+0000\n"
"PO-Revision-Date: 2024-10-23 07:30+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_product_loss
#: model:ir.model,name:mrp_product_loss.model_mrp_bom_line
msgid "Bill of Material Line"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_move__product_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_reservation__product_loss_qty
#: model_terms:ir.ui.view,arch_db:mrp_product_loss.mrp_bom_form_view
msgid "Loss Quantity"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_product_product__product_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_product_template__product_loss_qty
msgid "Loss in products to be consumed"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_mrp_bom_line__product_loss_qty
msgid "Loss quantity"
msgstr ""

#. module: mrp_product_loss
#: model_terms:ir.ui.view,arch_db:mrp_product_loss.view_template_property_form
msgid "Manufacturing"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_product_template
msgid "Product"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_mrp_production
msgid "Production Order"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_move__to_consume_before_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_reservation__to_consume_before_loss_qty
msgid "To Consume Before Loss Quantity"
msgstr ""
65 changes: 65 additions & 0 deletions mrp_product_loss/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_product_loss
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-23 07:31+0000\n"
"PO-Revision-Date: 2024-10-23 07:31+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_product_loss
#: model:ir.model,name:mrp_product_loss.model_mrp_bom_line
msgid "Bill of Material Line"
msgstr "Línea de Lista de Materiales"

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_move__product_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_reservation__product_loss_qty
#: model_terms:ir.ui.view,arch_db:mrp_product_loss.mrp_bom_form_view
msgid "Loss Quantity"
msgstr "Merma"

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_product_product__product_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_product_template__product_loss_qty
msgid "Loss in products to be consumed"
msgstr "Merma en productos a consumir"

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_mrp_bom_line__product_loss_qty
msgid "Loss quantity"
msgstr "Merma"

#. module: mrp_product_loss
#: model_terms:ir.ui.view,arch_db:mrp_product_loss.view_template_property_form
msgid "Manufacturing"
msgstr "Fabricación"

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_product_template
msgid "Product"
msgstr "Producto"

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_mrp_production
msgid "Production Order"
msgstr "Orden de producción"

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_stock_move
msgid "Stock Move"
msgstr "Movimiento de existencias"

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_move__to_consume_before_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_reservation__to_consume_before_loss_qty
msgid "To Consume Before Loss Quantity"
msgstr "A consumir antes merma"
65 changes: 65 additions & 0 deletions mrp_product_loss/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_product_loss
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-23 07:30+0000\n"
"PO-Revision-Date: 2024-10-23 07:30+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_product_loss
#: model:ir.model,name:mrp_product_loss.model_mrp_bom_line
msgid "Bill of Material Line"
msgstr "Ligne de nomenclature"

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_move__product_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_reservation__product_loss_qty
#: model_terms:ir.ui.view,arch_db:mrp_product_loss.mrp_bom_form_view
msgid "Loss Quantity"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_product_product__product_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_product_template__product_loss_qty
msgid "Loss in products to be consumed"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_mrp_bom_line__product_loss_qty
msgid "Loss quantity"
msgstr ""

#. module: mrp_product_loss
#: model_terms:ir.ui.view,arch_db:mrp_product_loss.view_template_property_form
msgid "Manufacturing"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_product_template
msgid "Product"
msgstr "Produit"

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_mrp_production
msgid "Production Order"
msgstr "Ordre de production"

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_stock_move
msgid "Stock Move"
msgstr "Mouvement de stock"

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_move__to_consume_before_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_reservation__to_consume_before_loss_qty
msgid "To Consume Before Loss Quantity"
msgstr ""
65 changes: 65 additions & 0 deletions mrp_product_loss/i18n/mrp_product_loss.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_product_loss
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-23 07:29+0000\n"
"PO-Revision-Date: 2024-10-23 07:29+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_product_loss
#: model:ir.model,name:mrp_product_loss.model_mrp_bom_line
msgid "Bill of Material Line"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_move__product_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_reservation__product_loss_qty
#: model_terms:ir.ui.view,arch_db:mrp_product_loss.mrp_bom_form_view
msgid "Loss Quantity"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_product_product__product_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_product_template__product_loss_qty
msgid "Loss in products to be consumed"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_mrp_bom_line__product_loss_qty
msgid "Loss quantity"
msgstr ""

#. module: mrp_product_loss
#: model_terms:ir.ui.view,arch_db:mrp_product_loss.view_template_property_form
msgid "Manufacturing"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_product_template
msgid "Product"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_mrp_production
msgid "Production Order"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model,name:mrp_product_loss.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: mrp_product_loss
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_move__to_consume_before_loss_qty
#: model:ir.model.fields,field_description:mrp_product_loss.field_stock_reservation__to_consume_before_loss_qty
msgid "To Consume Before Loss Quantity"
msgstr ""
4 changes: 4 additions & 0 deletions mrp_product_loss/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from . import product_template
from . import mrp_bom_line
from . import stock_move
from . import mrp_production
Loading

0 comments on commit d9179a5

Please sign in to comment.