diff --git a/base_maintenance/README.rst b/base_maintenance/README.rst new file mode 100644 index 000000000..a0e98fd1f --- /dev/null +++ b/base_maintenance/README.rst @@ -0,0 +1,86 @@ +================ +Base Maintenance +================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:cef55774c0b79ea9ad12c941db748e64d36dee97a0831390abdd8c64a6da86c7 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github + :target: https://github.com/OCA/maintenance/tree/17.0/base_maintenance + :alt: OCA/maintenance +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/maintenance-17-0/maintenance-17-0-base_maintenance + :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/maintenance&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module extends the functionality of Odoo Maintenance module to add +some basic features that are standard in other Odoo apps: + +- Team leader in maintenance team. +- Description field in maintenance team. +- Creates the unexisting search view for maintenance team. +- Empty button box on maintenance request to be extended by other + modules. +- Maintenance Request Report + +**Table of contents** + +.. contents:: + :local: + +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 to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* ForgeFlow + +Contributors +------------ + +- Lois Rilo +- Marcel Savegnago +- David Alonso + +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/maintenance `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/base_maintenance/__init__.py b/base_maintenance/__init__.py new file mode 100644 index 000000000..0650744f6 --- /dev/null +++ b/base_maintenance/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/base_maintenance/__manifest__.py b/base_maintenance/__manifest__.py new file mode 100644 index 000000000..157ce9d28 --- /dev/null +++ b/base_maintenance/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2019 ForgeFlow S.L. +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). + +{ + "name": "Base Maintenance", + "version": "17.0.1.0.0", + "author": "ForgeFlow, Odoo Community Association (OCA)", + "development_status": "Beta", + "website": "https://github.com/OCA/maintenance", + "category": "Maintenance", + "license": "LGPL-3", + "depends": ["maintenance"], + "data": [ + "views/maintenance_team_views.xml", + "views/maintenance_request_views.xml", + "views/maintenance_equipment_views.xml", + "views/report_maintenance_request.xml", + ], + "installable": True, +} diff --git a/base_maintenance/i18n/base_maintenance.pot b/base_maintenance/i18n/base_maintenance.pot new file mode 100644 index 000000000..8e85fad9e --- /dev/null +++ b/base_maintenance/i18n/base_maintenance.pot @@ -0,0 +1,125 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_maintenance +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \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: base_maintenance +#: model:ir.actions.report,print_report_name:base_maintenance.action_report_maintenance_request +msgid "'Maintenance Request - %s' % (object.name)" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Maintenance Request" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Category:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Close Date:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Description:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Duration:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Equipment:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Maintenance Type:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Model:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Priority:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Request Date:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Requested By:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Responsible:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Schedule Date:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Serial:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Stage:" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Team:" +msgstr "" + +#. module: base_maintenance +#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__description +#: model_terms:ir.ui.view,arch_db:base_maintenance.equipment_request_view_form +msgid "Description" +msgstr "" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.maintenance_team_view_form +msgid "Description of the team's function" +msgstr "" + +#. module: base_maintenance +#: model:ir.actions.report,name:base_maintenance.action_report_maintenance_request +msgid "Maintenance Request" +msgstr "" + +#. module: base_maintenance +#: model:ir.model,name:base_maintenance.model_maintenance_team +msgid "Maintenance Teams" +msgstr "" + +#. module: base_maintenance +#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__user_id +msgid "Team Leader" +msgstr "" diff --git a/base_maintenance/i18n/es.po b/base_maintenance/i18n/es.po new file mode 100644 index 000000000..07f427670 --- /dev/null +++ b/base_maintenance/i18n/es.po @@ -0,0 +1,128 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_maintenance +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-07-22 23:09+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_maintenance +#: model:ir.actions.report,print_report_name:base_maintenance.action_report_maintenance_request +msgid "'Maintenance Request - %s' % (object.name)" +msgstr "'Solicitud de mantenimiento - %s' % (object.name)" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Maintenance Request" +msgstr "Solicitud de mantenimiento" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Category:" +msgstr "Categoría:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Close Date:" +msgstr "Fecha de cierre:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Description:" +msgstr "Descripción:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Duration:" +msgstr "Duración:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Equipment:" +msgstr "Equipamiento:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Maintenance Type:" +msgstr "Tipo de mantenimiento:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Model:" +msgstr "Modelo:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Priority:" +msgstr "Prioridad:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Request Date:" +msgstr "Fecha de solicitud:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Requested By:" +msgstr "Solicitado por:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Responsible:" +msgstr "Responsable:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Schedule Date:" +msgstr "Fecha programada:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Serial:" +msgstr "Serie:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Stage:" +msgstr "Estado:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Team:" +msgstr "Equipo:" + +#. module: base_maintenance +#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__description +#: model_terms:ir.ui.view,arch_db:base_maintenance.equipment_request_view_form +msgid "Description" +msgstr "descripción" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.maintenance_team_view_form +msgid "Description of the team's function" +msgstr "Descripción de la función del equipo" + +#. module: base_maintenance +#: model:ir.actions.report,name:base_maintenance.action_report_maintenance_request +msgid "Maintenance Request" +msgstr "Solicitud de mantenimiento" + +#. module: base_maintenance +#: model:ir.model,name:base_maintenance.model_maintenance_team +msgid "Maintenance Teams" +msgstr "Equipos de Mantenimiento" + +#. module: base_maintenance +#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__user_id +msgid "Team Leader" +msgstr "Líder de equipo" diff --git a/base_maintenance/i18n/it.po b/base_maintenance/i18n/it.po new file mode 100644 index 000000000..424a71bb6 --- /dev/null +++ b/base_maintenance/i18n/it.po @@ -0,0 +1,137 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_maintenance +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-07-28 11:49+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: base_maintenance +#: model:ir.actions.report,print_report_name:base_maintenance.action_report_maintenance_request +msgid "'Maintenance Request - %s' % (object.name)" +msgstr "'Richiesta manutenzione - %s' % (object.name)" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Maintenance Request" +msgstr "Richiesta manutenzione" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Category:" +msgstr "Categoria:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Close Date:" +msgstr "Data chiusura:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Description:" +msgstr "Descrizione:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Duration:" +msgstr "Durata:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Equipment:" +msgstr "Attrezzatura:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Maintenance Type:" +msgstr "Tipo manutenzione:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Model:" +msgstr "Modello:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Priority:" +msgstr "Priorità:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Request Date:" +msgstr "Data richiesta:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Requested By:" +msgstr "Richiesta da:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Responsible:" +msgstr "Responsabile:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Schedule Date:" +msgstr "Data programmata:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Serial:" +msgstr "Matricola:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Stage:" +msgstr "Fase:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Team:" +msgstr "Squadra:" + +#. module: base_maintenance +#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__description +#: model_terms:ir.ui.view,arch_db:base_maintenance.equipment_request_view_form +msgid "Description" +msgstr "Descrizione" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.maintenance_team_view_form +msgid "Description of the team's function" +msgstr "Descrizione del compito del team" + +#. module: base_maintenance +#: model:ir.actions.report,name:base_maintenance.action_report_maintenance_request +msgid "Maintenance Request" +msgstr "Richiesta manutenzione" + +#. module: base_maintenance +#: model:ir.model,name:base_maintenance.model_maintenance_team +msgid "Maintenance Teams" +msgstr "Squadra manutenzione" + +#. module: base_maintenance +#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__user_id +msgid "Team Leader" +msgstr "Responsabile squadra" + +#~ msgid "Display Name" +#~ msgstr "Nome visualizzato" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Ultima modifica il" diff --git a/base_maintenance/i18n/pt.po b/base_maintenance/i18n/pt.po new file mode 100644 index 000000000..245072f0e --- /dev/null +++ b/base_maintenance/i18n/pt.po @@ -0,0 +1,128 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_maintenance +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2022-12-03 13:44+0000\n" +"Last-Translator: Pedro Castro Silva \n" +"Language-Team: none\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.14.1\n" + +#. module: base_maintenance +#: model:ir.actions.report,print_report_name:base_maintenance.action_report_maintenance_request +msgid "'Maintenance Request - %s' % (object.name)" +msgstr "‘Pedido de Manutenção - %s' % (object.name)" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Maintenance Request" +msgstr "Pedido de Manutenção" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Category:" +msgstr "Categoria:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Close Date:" +msgstr "Data de Encerramento:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Description:" +msgstr "Descrição:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Duration:" +msgstr "Duração:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Equipment:" +msgstr "Equipamento:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Maintenance Type:" +msgstr "Tipo de Manutenção:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Model:" +msgstr "Modelo:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Priority:" +msgstr "Prioridade:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Request Date:" +msgstr "Data do Pedido:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Requested By:" +msgstr "Solicitado por:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Responsible:" +msgstr "Responsável:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Schedule Date:" +msgstr "Data Agendada:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Serial:" +msgstr "Nº Série:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Stage:" +msgstr "Etapa:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Team:" +msgstr "Equipa:" + +#. module: base_maintenance +#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__description +#: model_terms:ir.ui.view,arch_db:base_maintenance.equipment_request_view_form +msgid "Description" +msgstr "Descrição" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.maintenance_team_view_form +msgid "Description of the team's function" +msgstr "Descrição da função da equipa" + +#. module: base_maintenance +#: model:ir.actions.report,name:base_maintenance.action_report_maintenance_request +msgid "Maintenance Request" +msgstr "Pedido de Manutenção" + +#. module: base_maintenance +#: model:ir.model,name:base_maintenance.model_maintenance_team +msgid "Maintenance Teams" +msgstr "Equipas de Manutenção" + +#. module: base_maintenance +#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__user_id +msgid "Team Leader" +msgstr "Líder da Equipa" diff --git a/base_maintenance/i18n/pt_BR.po b/base_maintenance/i18n/pt_BR.po new file mode 100644 index 000000000..9699bc09f --- /dev/null +++ b/base_maintenance/i18n/pt_BR.po @@ -0,0 +1,136 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_maintenance +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-07-16 16:08+0000\n" +"PO-Revision-Date: 2024-05-21 00:57+0000\n" +"Last-Translator: Rodrigo Macedo \n" +"Language-Team: \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: base_maintenance +#: model:ir.actions.report,print_report_name:base_maintenance.action_report_maintenance_request +msgid "'Maintenance Request - %s' % (object.name)" +msgstr "???Solicita????o de Manuten????o - %s' % (object.name)" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Maintenance Request" +msgstr "Solicita????o de Manuten????o" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Category:" +msgstr "Categoria:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Close Date:" +msgstr "Data de Encerramento:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Description:" +msgstr "Descri????o:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Duration:" +msgstr "Dura????o:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Equipment:" +msgstr "Equipamento:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Maintenance Type:" +msgstr "Tipo de Manuten????o:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Model:" +msgstr "Modelo:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Priority:" +msgstr "Prioridade:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Request Date:" +msgstr "Data da Solicita????o:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Requested By:" +msgstr "Solicitado por:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Responsible:" +msgstr "Responsável:
" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Schedule Date:" +msgstr "Data do Agendamento:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Serial:" +msgstr "S??rie:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Stage:" +msgstr "Est??gio:" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.report_maintenance_request_document +msgid "Team:" +msgstr "Equipe:" + +#. module: base_maintenance +#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__description +#: model_terms:ir.ui.view,arch_db:base_maintenance.equipment_request_view_form +msgid "Description" +msgstr "Descri????o" + +#. module: base_maintenance +#: model_terms:ir.ui.view,arch_db:base_maintenance.maintenance_team_view_form +msgid "Description of the team's function" +msgstr "Descri????o da fun????o da equipe" + +#. module: base_maintenance +#: model:ir.actions.report,name:base_maintenance.action_report_maintenance_request +msgid "Maintenance Request" +msgstr "Solicita????o de Manuten????o" + +#. module: base_maintenance +#: model:ir.model,name:base_maintenance.model_maintenance_team +msgid "Maintenance Teams" +msgstr "Equipes de Manuten????o" + +#. module: base_maintenance +#: model:ir.model.fields,field_description:base_maintenance.field_maintenance_team__user_id +msgid "Team Leader" +msgstr "L??der de Equipe" + +#~ msgid "Archived" +#~ msgstr "Arquivado" + +#~ msgid "Equipament:" +#~ msgstr "Equipamento:" diff --git a/base_maintenance/models/__init__.py b/base_maintenance/models/__init__.py new file mode 100644 index 000000000..e4c1bcba9 --- /dev/null +++ b/base_maintenance/models/__init__.py @@ -0,0 +1 @@ +from . import maintenance_team diff --git a/base_maintenance/models/maintenance_team.py b/base_maintenance/models/maintenance_team.py new file mode 100644 index 000000000..bdd63f5d1 --- /dev/null +++ b/base_maintenance/models/maintenance_team.py @@ -0,0 +1,11 @@ +# Copyright 2019 ForgeFlow S.L. +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). + +from odoo import fields, models + + +class MaintenanceTeam(models.Model): + _inherit = "maintenance.team" + + user_id = fields.Many2one(comodel_name="res.users", string="Team Leader") + description = fields.Text() diff --git a/base_maintenance/pyproject.toml b/base_maintenance/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/base_maintenance/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/base_maintenance/readme/CONTRIBUTORS.md b/base_maintenance/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..a902f2108 --- /dev/null +++ b/base_maintenance/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- Lois Rilo \<\> +- Marcel Savegnago \<\> +- David Alonso \<\> diff --git a/base_maintenance/readme/DESCRIPTION.md b/base_maintenance/readme/DESCRIPTION.md new file mode 100644 index 000000000..2a1fe1688 --- /dev/null +++ b/base_maintenance/readme/DESCRIPTION.md @@ -0,0 +1,9 @@ +This module extends the functionality of Odoo Maintenance module to add +some basic features that are standard in other Odoo apps: + +- Team leader in maintenance team. +- Description field in maintenance team. +- Creates the unexisting search view for maintenance team. +- Empty button box on maintenance request to be extended by other + modules. +- Maintenance Request Report diff --git a/base_maintenance/static/description/icon.png b/base_maintenance/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/base_maintenance/static/description/icon.png differ diff --git a/base_maintenance/static/description/index.html b/base_maintenance/static/description/index.html new file mode 100644 index 000000000..ae131fa85 --- /dev/null +++ b/base_maintenance/static/description/index.html @@ -0,0 +1,434 @@ + + + + + +Base Maintenance + + + +
+

Base Maintenance

+ + +

Beta License: LGPL-3 OCA/maintenance Translate me on Weblate Try me on Runboat

+

This module extends the functionality of Odoo Maintenance module to add +some basic features that are standard in other Odoo apps:

+
    +
  • Team leader in maintenance team.
  • +
  • Description field in maintenance team.
  • +
  • Creates the unexisting search view for maintenance team.
  • +
  • Empty button box on maintenance request to be extended by other +modules.
  • +
  • Maintenance Request Report
  • +
+

Table of contents

+ +
+

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 to smash it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • ForgeFlow
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

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/maintenance project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/base_maintenance/views/maintenance_equipment_views.xml b/base_maintenance/views/maintenance_equipment_views.xml new file mode 100644 index 000000000..ef1983c3c --- /dev/null +++ b/base_maintenance/views/maintenance_equipment_views.xml @@ -0,0 +1,16 @@ + + + + + equipment.form + maintenance.equipment + + + +
+
+
+
+
+
diff --git a/base_maintenance/views/maintenance_request_views.xml b/base_maintenance/views/maintenance_request_views.xml new file mode 100644 index 000000000..c5be3eed5 --- /dev/null +++ b/base_maintenance/views/maintenance_request_views.xml @@ -0,0 +1,25 @@ + + + + + equipment.request.form + maintenance.request + + + + +
+ +
+
+ + + + + + + +
+
+
diff --git a/base_maintenance/views/maintenance_team_views.xml b/base_maintenance/views/maintenance_team_views.xml new file mode 100644 index 000000000..69ab49546 --- /dev/null +++ b/base_maintenance/views/maintenance_team_views.xml @@ -0,0 +1,36 @@ + + + + + maintenance.team.form + maintenance.team + + + + + + + + + + + + + + maintenance.team.tree + maintenance.team + + + + + + + + + + + diff --git a/base_maintenance/views/report_maintenance_request.xml b/base_maintenance/views/report_maintenance_request.xml new file mode 100644 index 000000000..21ae6781f --- /dev/null +++ b/base_maintenance/views/report_maintenance_request.xml @@ -0,0 +1,129 @@ + + + + + + + + Maintenance Request + maintenance.request + qweb-pdf + base_maintenance.report_maintenance_request + base_maintenance.report_maintenance_request + 'Maintenance Request - %s' % (object.name) + + report + + +