Skip to content

Commit

Permalink
[16.0][ADD] warning_mrp: Allow you to configure messages in product f…
Browse files Browse the repository at this point in the history
…or manufacturing.
  • Loading branch information
alfredoavanzosc authored and anajuaristi committed Nov 27, 2024
1 parent 6dd1b66 commit c969fd1
Show file tree
Hide file tree
Showing 16 changed files with 692 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup/warning_mrp/odoo/addons/warning_mrp
6 changes: 6 additions & 0 deletions setup/warning_mrp/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
38 changes: 38 additions & 0 deletions warning_mrp/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
.. 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 - Warning
=============

* This module extends the functionality of warning module to allow you to
configure messages for manufacturing.


Configuration
=============

To configure this module, you need to:

* Go to product and configure the message in Sales tab.

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
------------

* Oihane Crucelaegui <[email protected]>
* Pedro M. Baeza <[email protected]>
* Ana Juaristi <[email protected]>
1 change: 1 addition & 0 deletions warning_mrp/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
24 changes: 24 additions & 0 deletions warning_mrp/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2015 Oihane Crucelaegui - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
{
"name": "Warning Messages and Alerts in Manufacturing",
"version": "16.0.1.0.0",
"category": "Manufacturing/Manufacturing",
"license": "AGPL-3",
"author": "OdooMRP team, " "AvanzOSC, " "Serv. Tecnol. Avanzados - Pedro M. Baeza",
"website": "https://github.com/avanzosc/mrp-addons",
"contributors": [
"Oihane Crucelaegui <[email protected]>",
"Pedro M. Baeza <[email protected]>",
"Ana Juaristi <[email protected]>",
],
"depends": [
"mrp",
],
"data": [
"views/product_template_views.xml",
"views/product_product_views.xml",
"views/mrp_production_views.xml",
],
"installable": True,
}
95 changes: 95 additions & 0 deletions warning_mrp/i18n/ca_ES.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * warning_mrp
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-19 12:57+0000\n"
"PO-Revision-Date: 2024-11-19 12:57+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: warning_mrp
#: model:ir.model.fields.selection,name:warning_mrp.selection__product_template__mrp_production_warn__block
msgid "Blocking Message"
msgstr ""

#. module: warning_mrp
#: model:ir.model.fields,field_description:warning_mrp.field_mrp_production__mrp_production_warn
#: model:ir.model.fields,field_description:warning_mrp.field_product_product__mrp_production_warn
#: model:ir.model.fields,field_description:warning_mrp.field_product_template__mrp_production_warn
msgid "Manufacturing Order"
msgstr ""

#. module: warning_mrp
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_template_only_form_view
msgid "Message"
msgstr ""

#. module: warning_mrp
#: model:ir.model.fields,field_description:warning_mrp.field_mrp_production__mrp_production_warn_msg
#: model:ir.model.fields,field_description:warning_mrp.field_product_product__mrp_production_warn_msg
#: model:ir.model.fields,field_description:warning_mrp.field_product_template__mrp_production_warn_msg
msgid "Message for Manufacturing Order"
msgstr ""

#. module: warning_mrp
#: model:ir.model.fields.selection,name:warning_mrp.selection__product_template__mrp_production_warn__no-message
msgid "No Message"
msgstr ""

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

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

#. module: warning_mrp
#: model:ir.model.fields,help:warning_mrp.field_mrp_production__mrp_production_warn
#: model:ir.model.fields,help:warning_mrp.field_product_product__mrp_production_warn
#: model:ir.model.fields,help:warning_mrp.field_product_template__mrp_production_warn
msgid ""
"Selecting the \"Warning\" option will notify user with the message, "
"Selecting \"Blocking Message\" will throw an exception with the message and "
"block the flow. The Message has to be written in the next field."
msgstr ""

#. module: warning_mrp
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_template_only_form_view
msgid "Type a message..."
msgstr ""

#. module: warning_mrp
#: model:ir.model.fields.selection,name:warning_mrp.selection__product_template__mrp_production_warn__warning
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_template_only_form_view
msgid "Warning"
msgstr ""

#. module: warning_mrp
#: model_terms:ir.ui.view,arch_db:warning_mrp.mrp_production_form_view
msgid "Warning !!!!!"
msgstr ""

#. module: warning_mrp
#. odoo-python
#: code:addons/warning_mrp/models/mrp_production.py:0
#, python-format
msgid "Warning for %s"
msgstr ""

#. module: warning_mrp
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_template_only_form_view
msgid "Warning when Manufacturing this Product"
msgstr ""
95 changes: 95 additions & 0 deletions warning_mrp/i18n/en_GB.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * warning_mrp
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-19 12:58+0000\n"
"PO-Revision-Date: 2024-11-19 12:58+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: warning_mrp
#: model:ir.model.fields.selection,name:warning_mrp.selection__product_template__mrp_production_warn__block
msgid "Blocking Message"
msgstr ""

#. module: warning_mrp
#: model:ir.model.fields,field_description:warning_mrp.field_mrp_production__mrp_production_warn
#: model:ir.model.fields,field_description:warning_mrp.field_product_product__mrp_production_warn
#: model:ir.model.fields,field_description:warning_mrp.field_product_template__mrp_production_warn
msgid "Manufacturing Order"
msgstr ""

#. module: warning_mrp
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_template_only_form_view
msgid "Message"
msgstr ""

#. module: warning_mrp
#: model:ir.model.fields,field_description:warning_mrp.field_mrp_production__mrp_production_warn_msg
#: model:ir.model.fields,field_description:warning_mrp.field_product_product__mrp_production_warn_msg
#: model:ir.model.fields,field_description:warning_mrp.field_product_template__mrp_production_warn_msg
msgid "Message for Manufacturing Order"
msgstr ""

#. module: warning_mrp
#: model:ir.model.fields.selection,name:warning_mrp.selection__product_template__mrp_production_warn__no-message
msgid "No Message"
msgstr ""

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

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

#. module: warning_mrp
#: model:ir.model.fields,help:warning_mrp.field_mrp_production__mrp_production_warn
#: model:ir.model.fields,help:warning_mrp.field_product_product__mrp_production_warn
#: model:ir.model.fields,help:warning_mrp.field_product_template__mrp_production_warn
msgid ""
"Selecting the \"Warning\" option will notify user with the message, "
"Selecting \"Blocking Message\" will throw an exception with the message and "
"block the flow. The Message has to be written in the next field."
msgstr ""

#. module: warning_mrp
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_template_only_form_view
msgid "Type a message..."
msgstr ""

#. module: warning_mrp
#: model:ir.model.fields.selection,name:warning_mrp.selection__product_template__mrp_production_warn__warning
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_template_only_form_view
msgid "Warning"
msgstr ""

#. module: warning_mrp
#: model_terms:ir.ui.view,arch_db:warning_mrp.mrp_production_form_view
msgid "Warning !!!!!"
msgstr ""

#. module: warning_mrp
#. odoo-python
#: code:addons/warning_mrp/models/mrp_production.py:0
#, python-format
msgid "Warning for %s"
msgstr ""

#. module: warning_mrp
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_template_only_form_view
msgid "Warning when Manufacturing this Product"
msgstr ""
99 changes: 99 additions & 0 deletions warning_mrp/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * warning_mrp
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-19 12:58+0000\n"
"PO-Revision-Date: 2024-11-19 12:58+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: warning_mrp
#: model:ir.model.fields.selection,name:warning_mrp.selection__product_template__mrp_production_warn__block
msgid "Blocking Message"
msgstr "Mensaje de bloqueo"

#. module: warning_mrp
#: model:ir.model.fields,field_description:warning_mrp.field_mrp_production__mrp_production_warn
#: model:ir.model.fields,field_description:warning_mrp.field_product_product__mrp_production_warn
#: model:ir.model.fields,field_description:warning_mrp.field_product_template__mrp_production_warn
msgid "Manufacturing Order"
msgstr "Orden de fabricación"

#. module: warning_mrp
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_template_only_form_view
msgid "Message"
msgstr "Mensaje"

#. module: warning_mrp
#: model:ir.model.fields,field_description:warning_mrp.field_mrp_production__mrp_production_warn_msg
#: model:ir.model.fields,field_description:warning_mrp.field_product_product__mrp_production_warn_msg
#: model:ir.model.fields,field_description:warning_mrp.field_product_template__mrp_production_warn_msg
msgid "Message for Manufacturing Order"
msgstr "Mensaje para orden de fabricación"

#. module: warning_mrp
#: model:ir.model.fields.selection,name:warning_mrp.selection__product_template__mrp_production_warn__no-message
msgid "No Message"
msgstr "Sin mensaje"

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

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

#. module: warning_mrp
#: model:ir.model.fields,help:warning_mrp.field_mrp_production__mrp_production_warn
#: model:ir.model.fields,help:warning_mrp.field_product_product__mrp_production_warn
#: model:ir.model.fields,help:warning_mrp.field_product_template__mrp_production_warn
msgid ""
"Selecting the \"Warning\" option will notify user with the message, "
"Selecting \"Blocking Message\" will throw an exception with the message and "
"block the flow. The Message has to be written in the next field."
msgstr ""
"Si seleccionas la opción \"Advertencia\" se notificará a los usuarios con el"
" mensaje, si selecciona \"Mensaje de bloqueo\" se lanzará una excepción con "
"el mensaje y se bloqueará el flujo. El mensaje debe escribirse en el "
"siguiente campo."

#. module: warning_mrp
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_template_only_form_view
msgid "Type a message..."
msgstr "Escriba un mensaje..."

#. module: warning_mrp
#: model:ir.model.fields.selection,name:warning_mrp.selection__product_template__mrp_production_warn__warning
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_template_only_form_view
msgid "Warning"
msgstr "Aviso"

#. module: warning_mrp
#: model_terms:ir.ui.view,arch_db:warning_mrp.mrp_production_form_view
msgid "Warning !!!!!"
msgstr "¡¡¡¡¡ AVISO !!!!!"

#. module: warning_mrp
#. odoo-python
#: code:addons/warning_mrp/models/mrp_production.py:0
#, python-format
msgid "Warning for %s"
msgstr "Advertencia para %s"

#. module: warning_mrp
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:warning_mrp.product_template_only_form_view
msgid "Warning when Manufacturing this Product"
msgstr "Advertencia al fabricar este producto"
Loading

0 comments on commit c969fd1

Please sign in to comment.