diff --git a/repair_order_extra_data/README.rst b/repair_order_extra_data/README.rst new file mode 100644 index 0000000..fd9e81e --- /dev/null +++ b/repair_order_extra_data/README.rst @@ -0,0 +1,29 @@ +.. 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 + +======================= +Repair order extra data +======================= + +* In repair orders new tag "Repair Report", with new fields: Description + breakdown, cause, repair effectuate, repairable. +* New report "Repair report". + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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. + +Credits +======= + +Contributors +------------ +* Ana Juaristi +* Alfredo de la Fuente + +Do not contact contributors directly about support or help with technical issues. diff --git a/repair_order_extra_data/__init__.py b/repair_order_extra_data/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/repair_order_extra_data/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/repair_order_extra_data/__manifest__.py b/repair_order_extra_data/__manifest__.py new file mode 100644 index 0000000..9fb33e0 --- /dev/null +++ b/repair_order_extra_data/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2024 Alfredo de la Fuente - AvanzOSC +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +{ + "name": "Repair Order Extra Data", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "author": "AvanzOSC", + "website": "https://github.com/avanzosc/mrp-repair-addons", + "contributors": [ + "Ana Juaristi ", + "Alfredo de la Fuente ", + ], + "category": "Inventory/Inventory", + "depends": ["product", "stock", "repair", "repair_order_invoice_address"], + "data": [ + "data/report_paperformat.xml", + "report/mrp_repair_report.xml", + "views/mrp_repair_view.xml", + ], + "installable": True, +} diff --git a/repair_order_extra_data/data/report_paperformat.xml b/repair_order_extra_data/data/report_paperformat.xml new file mode 100644 index 0000000..55f3645 --- /dev/null +++ b/repair_order_extra_data/data/report_paperformat.xml @@ -0,0 +1,18 @@ + + + + Repair Order Report + + A4 + 0 + 0 + Landscape + 40 + 10 + 7 + 7 + + 35 + 90 + + diff --git a/repair_order_extra_data/i18n/ca_ES.po b/repair_order_extra_data/i18n/ca_ES.po new file mode 100644 index 0000000..eb324d5 --- /dev/null +++ b/repair_order_extra_data/i18n/ca_ES.po @@ -0,0 +1,138 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * repair_order_extra_data +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-09-25 08:47+0000\n" +"PO-Revision-Date: 2024-09-25 08:47+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: repair_order_extra_data +#: model:ir.actions.report,print_report_name:repair_order_extra_data.action_report_mrp_repair_extra_data +msgid "('Report Extra Data For Repair - %s' % (object.name))" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repair report N°:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "" +"Repair date:\n" +"
" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repairable:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Responsible:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Shipping address :" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__cause +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Cause" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__description_breakdown +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Description breakdown" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Invoice address:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Invoice and shipping address:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Lot/Serial Number" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "No" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Product" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Quantity" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.actions.report,name:repair_order_extra_data.action_report_mrp_repair_extra_data +msgid "Repair" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Repair Made" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model,name:repair_order_extra_data.model_repair_order +msgid "Repair Order" +msgstr "Ordre de reparació" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Repair Report" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repair effectuate" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__repair_made +msgid "Repair made" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__repairable +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form_filter +msgid "Repairable" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "VAT:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Yes" +msgstr "" diff --git a/repair_order_extra_data/i18n/en_GB.po b/repair_order_extra_data/i18n/en_GB.po new file mode 100644 index 0000000..e6ac570 --- /dev/null +++ b/repair_order_extra_data/i18n/en_GB.po @@ -0,0 +1,138 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * repair_order_extra_data +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-09-25 08:47+0000\n" +"PO-Revision-Date: 2024-09-25 08:47+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: repair_order_extra_data +#: model:ir.actions.report,print_report_name:repair_order_extra_data.action_report_mrp_repair_extra_data +msgid "('Report Extra Data For Repair - %s' % (object.name))" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repair report N°:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "" +"Repair date:\n" +"
" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repairable:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Responsible:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Shipping address :" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__cause +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Cause" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__description_breakdown +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Description breakdown" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Invoice address:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Invoice and shipping address:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Lot/Serial Number" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "No" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Product" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Quantity" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.actions.report,name:repair_order_extra_data.action_report_mrp_repair_extra_data +msgid "Repair" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Repair Made" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model,name:repair_order_extra_data.model_repair_order +msgid "Repair Order" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Repair Report" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repair effectuate" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__repair_made +msgid "Repair made" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__repairable +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form_filter +msgid "Repairable" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "VAT:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Yes" +msgstr "" diff --git a/repair_order_extra_data/i18n/es.po b/repair_order_extra_data/i18n/es.po new file mode 100644 index 0000000..940dc2b --- /dev/null +++ b/repair_order_extra_data/i18n/es.po @@ -0,0 +1,140 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * repair_order_extra_data +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-09-25 08:48+0000\n" +"PO-Revision-Date: 2024-09-25 08:48+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: repair_order_extra_data +#: model:ir.actions.report,print_report_name:repair_order_extra_data.action_report_mrp_repair_extra_data +msgid "('Report Extra Data For Repair - %s' % (object.name))" +msgstr "('Informe datos extra para reparación - %s' % (object.name))" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repair report N°:" +msgstr "Informe reparación N°:" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "" +"Repair date:\n" +"
" +msgstr "" +"Fecha reparación:\n" +"
" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repairable:" +msgstr "Reparable:" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Responsible:" +msgstr "Responsable:" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Shipping address :" +msgstr "Dirección envío:" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__cause +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Cause" +msgstr "Causa" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__description_breakdown +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Description breakdown" +msgstr "Descripción avería" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Invoice address:" +msgstr "Dirección factura:" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Invoice and shipping address:" +msgstr "Dirección factura y envío:" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Lot/Serial Number" +msgstr "Lote/Num. Serie" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "No" +msgstr "No" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Product" +msgstr "Producto" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Quantity" +msgstr "Cantidad" + +#. module: repair_order_extra_data +#: model:ir.actions.report,name:repair_order_extra_data.action_report_mrp_repair_extra_data +msgid "Repair" +msgstr "Reparación" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Repair Made" +msgstr "Reparación realizada" + +#. module: repair_order_extra_data +#: model:ir.model,name:repair_order_extra_data.model_repair_order +msgid "Repair Order" +msgstr "Orden reparación" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Repair Report" +msgstr "Informe reparación" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repair effectuate" +msgstr "Reparación efectuada" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__repair_made +msgid "Repair made" +msgstr "Reparación realizada" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__repairable +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form_filter +msgid "Repairable" +msgstr "Reparable" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "VAT:" +msgstr "NIF:" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Yes" +msgstr "Si" diff --git a/repair_order_extra_data/i18n/fr.po b/repair_order_extra_data/i18n/fr.po new file mode 100644 index 0000000..5d7b512 --- /dev/null +++ b/repair_order_extra_data/i18n/fr.po @@ -0,0 +1,138 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * repair_order_extra_data +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-09-25 08:47+0000\n" +"PO-Revision-Date: 2024-09-25 08:47+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: repair_order_extra_data +#: model:ir.actions.report,print_report_name:repair_order_extra_data.action_report_mrp_repair_extra_data +msgid "('Report Extra Data For Repair - %s' % (object.name))" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repair report N°:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "" +"Repair date:\n" +"
" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repairable:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Responsible:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Shipping address :" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__cause +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Cause" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__description_breakdown +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Description breakdown" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Invoice address:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Invoice and shipping address:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Lot/Serial Number" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "No" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Product" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Quantity" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.actions.report,name:repair_order_extra_data.action_report_mrp_repair_extra_data +msgid "Repair" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Repair Made" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model,name:repair_order_extra_data.model_repair_order +msgid "Repair Order" +msgstr "Ordre de réparation" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Repair Report" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repair effectuate" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__repair_made +msgid "Repair made" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__repairable +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form_filter +msgid "Repairable" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "VAT:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Yes" +msgstr "" diff --git a/repair_order_extra_data/i18n/repair_order_extra_data.pot b/repair_order_extra_data/i18n/repair_order_extra_data.pot new file mode 100644 index 0000000..8461282 --- /dev/null +++ b/repair_order_extra_data/i18n/repair_order_extra_data.pot @@ -0,0 +1,138 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * repair_order_extra_data +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-09-25 08:46+0000\n" +"PO-Revision-Date: 2024-09-25 08:46+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: repair_order_extra_data +#: model:ir.actions.report,print_report_name:repair_order_extra_data.action_report_mrp_repair_extra_data +msgid "('Report Extra Data For Repair - %s' % (object.name))" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repair report N°:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "" +"Repair date:\n" +"
" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repairable:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Responsible:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Shipping address :" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__cause +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Cause" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__description_breakdown +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Description breakdown" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Invoice address:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Invoice and shipping address:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Lot/Serial Number" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "No" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Product" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Quantity" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.actions.report,name:repair_order_extra_data.action_report_mrp_repair_extra_data +msgid "Repair" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Repair Made" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model,name:repair_order_extra_data.model_repair_order +msgid "Repair Order" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form +msgid "Repair Report" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Repair effectuate" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__repair_made +msgid "Repair made" +msgstr "" + +#. module: repair_order_extra_data +#: model:ir.model.fields,field_description:repair_order_extra_data.field_repair_order__repairable +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.view_repair_order_form_filter +msgid "Repairable" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "VAT:" +msgstr "" + +#. module: repair_order_extra_data +#: model_terms:ir.ui.view,arch_db:repair_order_extra_data.report_repair_order_extra_data_document +msgid "Yes" +msgstr "" diff --git a/repair_order_extra_data/models/__init__.py b/repair_order_extra_data/models/__init__.py new file mode 100644 index 0000000..2251f67 --- /dev/null +++ b/repair_order_extra_data/models/__init__.py @@ -0,0 +1 @@ +from . import repair_order diff --git a/repair_order_extra_data/models/repair_order.py b/repair_order_extra_data/models/repair_order.py new file mode 100644 index 0000000..6fdee79 --- /dev/null +++ b/repair_order_extra_data/models/repair_order.py @@ -0,0 +1,12 @@ +# Copyright 2024 Alfredo de la Fuente - AvanzOSC +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html +from odoo import fields, models + + +class RepairOrder(models.Model): + _inherit = "repair.order" + + description_breakdown = fields.Text(string="Description breakdown") + cause = fields.Text() + repair_made = fields.Text(string="Repair made") + repairable = fields.Boolean(default=False) diff --git a/repair_order_extra_data/report/mrp_repair_report.xml b/repair_order_extra_data/report/mrp_repair_report.xml new file mode 100644 index 0000000..c96c7d8 --- /dev/null +++ b/repair_order_extra_data/report/mrp_repair_report.xml @@ -0,0 +1,158 @@ + + + + + + + + Repair + repair.order + qweb-pdf + repair_order_extra_data.report_repair_order_extra_data + repair_order_extra_data.report_repair_order_extra_data + ('Report Extra Data For Repair - %s' % (object.name)) + + report + + + diff --git a/repair_order_extra_data/views/mrp_repair_view.xml b/repair_order_extra_data/views/mrp_repair_view.xml new file mode 100644 index 0000000..32fe3f4 --- /dev/null +++ b/repair_order_extra_data/views/mrp_repair_view.xml @@ -0,0 +1,56 @@ + + + + repair.order + + + + + + + + + + + + + + + + + + + + + + + repair.order + + + + + + + + + + + + + repair.order + + + + + + + + + + + diff --git a/setup/repair_order_extra_data/odoo/addons/repair_order_extra_data b/setup/repair_order_extra_data/odoo/addons/repair_order_extra_data new file mode 120000 index 0000000..43f5858 --- /dev/null +++ b/setup/repair_order_extra_data/odoo/addons/repair_order_extra_data @@ -0,0 +1 @@ +../../../../repair_order_extra_data \ No newline at end of file diff --git a/setup/repair_order_extra_data/setup.py b/setup/repair_order_extra_data/setup.py new file mode 100644 index 0000000..28c57bb --- /dev/null +++ b/setup/repair_order_extra_data/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)