diff --git a/agreement_maintenance/README.rst b/agreement_maintenance/README.rst new file mode 100644 index 000000000..f213a65ab --- /dev/null +++ b/agreement_maintenance/README.rst @@ -0,0 +1,125 @@ +====================== +Maintenance Agreements +====================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:af74364d1d9d5843bcd4ed029e2014f4fe3769ceffcde9ce1c43350ea66331ee + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fagreement-lightgray.png?logo=github + :target: https://github.com/OCA/agreement/tree/18.0/agreement_maintenance + :alt: OCA/agreement +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/agreement-18-0/agreement-18-0-agreement_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/agreement&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows you to manage maintenance agreements and contracts. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To configure this module: + +- Go to Agreement > Configuration > Templates +- Create a new template with sections and clauses and their respective + content +- Go to Agreement > Configuration > Stages +- Create and reorder stages to match your process + +Usage +===== + +To use this module: + +- Go to Maintenance +- Create or select a maintenance request +- Select the Agreement +- Select the Service Profile related to the select agreement +- Go to Agreement +- Open the previous agreement and click on the smart button "Maintenance + Requests" to see the list of related maintenance requests +- Group the requests by Service Profile + +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 +------- + +* Pavlov Media +* Open Source Integrators + +Contributors +------------ + +- Patrick Wilson +- Bhavesh Odedra +- Wolfgang Hall +- Maxime Chambreuil +- Serpent Consulting Services Pvt. Ltd. + +Other credits +------------- + +The development of this module has been financially supported by: + +- Pavlov Media +- Open Source Integrators + +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. + +.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px + :target: https://github.com/max3903 + :alt: max3903 +.. |maintainer-marcos-mendez| image:: https://github.com/marcos-mendez.png?size=40px + :target: https://github.com/marcos-mendez + :alt: marcos-mendez + +Current `maintainers `__: + +|maintainer-max3903| |maintainer-marcos-mendez| + +This module is part of the `OCA/agreement `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/agreement_maintenance/__init__.py b/agreement_maintenance/__init__.py new file mode 100644 index 000000000..ac21202d9 --- /dev/null +++ b/agreement_maintenance/__init__.py @@ -0,0 +1,5 @@ +# Copyright (C) 2018 Pavlov Media +# Copyright (C) 2021 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import models diff --git a/agreement_maintenance/__manifest__.py b/agreement_maintenance/__manifest__.py new file mode 100644 index 000000000..676443fd2 --- /dev/null +++ b/agreement_maintenance/__manifest__.py @@ -0,0 +1,27 @@ +# Copyright (C) 2018 Pavlov Media +# Copyright (C) 2021 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Maintenance Agreements", + "summary": "Manage maintenance agreements and contracts", + "author": "Pavlov Media, " + "Open Source Integrators, " + "Odoo Community Association (OCA)", + "website": "https://github.com/OCA/agreement", + "category": "Maintenance", + "license": "AGPL-3", + "version": "18.0.1.0.0", + "depends": [ + "maintenance", + "agreement_serviceprofile", + ], + "data": [ + "views/agreement_view.xml", + "views/agreement_serviceprofile_view.xml", + "views/maintenance_request_view.xml", + "views/maintenance_equipment_view.xml", + ], + "development_status": "Beta", + "maintainers": ["max3903", "marcos-mendez"], +} diff --git a/agreement_maintenance/i18n/agreement_maintenance.pot b/agreement_maintenance/i18n/agreement_maintenance.pot new file mode 100644 index 000000000..c2415bea9 --- /dev/null +++ b/agreement_maintenance/i18n/agreement_maintenance.pot @@ -0,0 +1,78 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_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: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement__mr_count +msgid "# Maintenance Requests" +msgstr "" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.partner_agreement_form_view +msgid "Maintenance Requests" +msgstr "" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__agreement_id +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__agreement_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_equipment_filter_agreement +msgid "Agreement" +msgstr "" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement_serviceprofile +msgid "Agreement Service Profiles" +msgstr "" + +#. module: agreement_maintenance +#: model_terms:ir.actions.act_window,help:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Create Maintenance Requests" +msgstr "" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement_serviceprofile__equipment_id +msgid "Equipment" +msgstr "" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_request +msgid "Maintenance Request" +msgstr "" + +#. module: agreement_maintenance +#: model:ir.actions.act_window,name:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Maintenance Requests" +msgstr "" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_request_filter_agreement +msgid "Service Profile" +msgstr "" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__serviceprofile_ids +msgid "Service Profiles" +msgstr "" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.maintenance_equipment_form_view_agreement +msgid "Services" +msgstr "" diff --git a/agreement_maintenance/i18n/de.po b/agreement_maintenance/i18n/de.po new file mode 100644 index 000000000..4fe69a1ea --- /dev/null +++ b/agreement_maintenance/i18n/de.po @@ -0,0 +1,84 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_maintenance +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-10-09 13:36+0000\n" +"Last-Translator: Maria Sparenberg \n" +"Language-Team: none\n" +"Language: de\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 3.8\n" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement__mr_count +msgid "# Maintenance Requests" +msgstr "# Wartungsanfragen" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.partner_agreement_form_view +msgid "Maintenance Requests" +msgstr "Wartungsanfragen" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__agreement_id +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__agreement_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_equipment_filter_agreement +msgid "Agreement" +msgstr "Vereinbarung" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement_serviceprofile +msgid "Agreement Service Profiles" +msgstr "Vereinbarungsserviceprofil" + +#. module: agreement_maintenance +#: model_terms:ir.actions.act_window,help:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Create Maintenance Requests" +msgstr "Wartungsanfrage erzeugen" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement_serviceprofile__equipment_id +msgid "Equipment" +msgstr "Equipment" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "Wartungsequipment" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_request +msgid "Maintenance Request" +msgstr "Wartungsanfrage" + +#. module: agreement_maintenance +#: model:ir.actions.act_window,name:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Maintenance Requests" +msgstr "Wartungsanfragen" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_request_filter_agreement +msgid "Service Profile" +msgstr "Dienstleistungsprofil" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__serviceprofile_ids +msgid "Service Profiles" +msgstr "Serviceprofile" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.maintenance_equipment_form_view_agreement +msgid "Services" +msgstr "Dienste" + +#~ msgid "agreement" +#~ msgstr "Vereinbarung" diff --git a/agreement_maintenance/i18n/es.po b/agreement_maintenance/i18n/es.po new file mode 100644 index 000000000..5fbb812c8 --- /dev/null +++ b/agreement_maintenance/i18n/es.po @@ -0,0 +1,90 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_maintenance +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-12-19 10:35+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: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement__mr_count +msgid "# Maintenance Requests" +msgstr "# Solicitudes de Mantenimiento" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.partner_agreement_form_view +msgid "Maintenance Requests" +msgstr "Solicitudes de mantenimiento" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__agreement_id +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__agreement_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_equipment_filter_agreement +msgid "Agreement" +msgstr "Acuerdo" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement_serviceprofile +msgid "Agreement Service Profiles" +msgstr "Acuerdo de Perfiles de Servicio" + +#. module: agreement_maintenance +#: model_terms:ir.actions.act_window,help:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Create Maintenance Requests" +msgstr "Crear Solicitudes de Mantenimiento" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement_serviceprofile__equipment_id +msgid "Equipment" +msgstr "Equipamiento" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "Equipo de Mantenimiento" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_request +msgid "Maintenance Request" +msgstr "Solicitud de Mantenimiento" + +#. module: agreement_maintenance +#: model:ir.actions.act_window,name:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Maintenance Requests" +msgstr "Peticiones de Mantenimiento" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_request_filter_agreement +msgid "Service Profile" +msgstr "Perfil de Servicio" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__serviceprofile_ids +msgid "Service Profiles" +msgstr "Perfiles de Servicio" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.maintenance_equipment_form_view_agreement +msgid "Services" +msgstr "Servicios" + +#~ msgid "Display Name" +#~ msgstr "Mostrar Nombre" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Última Modificación el" diff --git a/agreement_maintenance/i18n/es_AR.po b/agreement_maintenance/i18n/es_AR.po new file mode 100644 index 000000000..6343dfa5f --- /dev/null +++ b/agreement_maintenance/i18n/es_AR.po @@ -0,0 +1,90 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_maintenance +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2022-02-06 20:59+0000\n" +"Last-Translator: Ignacio Buioli \n" +"Language-Team: none\n" +"Language: es_AR\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: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement__mr_count +msgid "# Maintenance Requests" +msgstr "# Solicitudes de Mantenimiento" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.partner_agreement_form_view +msgid "Maintenance Requests" +msgstr "Solicitudes de Mantenimiento" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__agreement_id +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__agreement_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_equipment_filter_agreement +msgid "Agreement" +msgstr "Acuerdo" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement_serviceprofile +msgid "Agreement Service Profiles" +msgstr "Acuerdo de Perfiles de Servicio" + +#. module: agreement_maintenance +#: model_terms:ir.actions.act_window,help:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Create Maintenance Requests" +msgstr "Crear Solicitudes de Mantenimiento" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement_serviceprofile__equipment_id +msgid "Equipment" +msgstr "Equipamiento" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "Equipo de Mantenimiento" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_request +msgid "Maintenance Request" +msgstr "Solicitud de Mantenimiento" + +#. module: agreement_maintenance +#: model:ir.actions.act_window,name:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Maintenance Requests" +msgstr "Solicitudes de Mantenimiento" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_request_filter_agreement +msgid "Service Profile" +msgstr "Perfil de Servicio" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__serviceprofile_ids +msgid "Service Profiles" +msgstr "Perfiles de Servicio" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.maintenance_equipment_form_view_agreement +msgid "Services" +msgstr "Servicios" + +#~ msgid "Display Name" +#~ msgstr "Mostrar Nombre" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Última Modificación el" diff --git a/agreement_maintenance/i18n/gl.po b/agreement_maintenance/i18n/gl.po new file mode 100644 index 000000000..f11204cc8 --- /dev/null +++ b/agreement_maintenance/i18n/gl.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_maintenance +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2026-07-06 15:46+0000\n" +"Last-Translator: Cándido Martínez \n" +"Language-Team: none\n" +"Language: gl\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 5.15.2\n" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement__mr_count +msgid "# Maintenance Requests" +msgstr "# Solicitudes de Mantemento" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.partner_agreement_form_view +msgid "Maintenance Requests" +msgstr "Solicitudes de mantemento" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__agreement_id +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__agreement_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_equipment_filter_agreement +msgid "Agreement" +msgstr "Acordo" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement_serviceprofile +msgid "Agreement Service Profiles" +msgstr "Acordo de Perfiles de Servizo" + +#. module: agreement_maintenance +#: model_terms:ir.actions.act_window,help:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Create Maintenance Requests" +msgstr "Crear solicitudes de mantemento" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement_serviceprofile__equipment_id +msgid "Equipment" +msgstr "Equipamento" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "Equipo de mantemento" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_request +msgid "Maintenance Request" +msgstr "Solicitude de mantemento" + +#. module: agreement_maintenance +#: model:ir.actions.act_window,name:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Maintenance Requests" +msgstr "Peticións de mantemento" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_request_filter_agreement +msgid "Service Profile" +msgstr "Perfil do servizo" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__serviceprofile_ids +msgid "Service Profiles" +msgstr "Perfiles de servizo" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.maintenance_equipment_form_view_agreement +msgid "Services" +msgstr "Servizos" diff --git a/agreement_maintenance/i18n/it.po b/agreement_maintenance/i18n/it.po new file mode 100644 index 000000000..3dc05dd26 --- /dev/null +++ b/agreement_maintenance/i18n/it.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_maintenance +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-12-31 16:06+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 5.6.2\n" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement__mr_count +msgid "# Maintenance Requests" +msgstr "N° richieste di manutenzione" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.partner_agreement_form_view +msgid "Maintenance Requests" +msgstr "Richieste di manutenzione" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__agreement_id +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__agreement_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_equipment_filter_agreement +msgid "Agreement" +msgstr "Contratto" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement_serviceprofile +msgid "Agreement Service Profiles" +msgstr "Profili di servizio contratto" + +#. module: agreement_maintenance +#: model_terms:ir.actions.act_window,help:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Create Maintenance Requests" +msgstr "Crea richieste di manutenzione" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement_serviceprofile__equipment_id +msgid "Equipment" +msgstr "Attrezzatura" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "Attrezzatura manutenzione" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_request +msgid "Maintenance Request" +msgstr "Richiesta manutenzione" + +#. module: agreement_maintenance +#: model:ir.actions.act_window,name:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Maintenance Requests" +msgstr "Richieste di manutenzione" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_request_filter_agreement +msgid "Service Profile" +msgstr "Profilo servizio" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__serviceprofile_ids +msgid "Service Profiles" +msgstr "Profili servizio" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.maintenance_equipment_form_view_agreement +msgid "Services" +msgstr "Servizi" diff --git a/agreement_maintenance/i18n/pt.po b/agreement_maintenance/i18n/pt.po new file mode 100644 index 000000000..55f32008d --- /dev/null +++ b/agreement_maintenance/i18n/pt.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_maintenance +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-02-17 19:13+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 3.10\n" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement__mr_count +msgid "# Maintenance Requests" +msgstr "# Requisições de Manutenção" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.partner_agreement_form_view +msgid "Maintenance Requests" +msgstr "Requisições de Manutenção" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__agreement_id +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__agreement_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_equipment_filter_agreement +msgid "Agreement" +msgstr "Acordo" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement_serviceprofile +msgid "Agreement Service Profiles" +msgstr "Perfis de Serviço do Acordo" + +#. module: agreement_maintenance +#: model_terms:ir.actions.act_window,help:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Create Maintenance Requests" +msgstr "Criar Requisição de Manutenção" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement_serviceprofile__equipment_id +msgid "Equipment" +msgstr "Equipamento" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "Equipamento de Manutenção" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_request +msgid "Maintenance Request" +msgstr "Requisição de Manutenção" + +#. module: agreement_maintenance +#: model:ir.actions.act_window,name:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Maintenance Requests" +msgstr "Requisições de Manutenção" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_request_filter_agreement +msgid "Service Profile" +msgstr "Perfil do Serviço" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__serviceprofile_ids +msgid "Service Profiles" +msgstr "Perfis do Serviço" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.maintenance_equipment_form_view_agreement +msgid "Services" +msgstr "Serviços" diff --git a/agreement_maintenance/i18n/pt_BR.po b/agreement_maintenance/i18n/pt_BR.po new file mode 100644 index 000000000..55971e1b6 --- /dev/null +++ b/agreement_maintenance/i18n/pt_BR.po @@ -0,0 +1,91 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_maintenance +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-05-20 19:35+0000\n" +"Last-Translator: Rodrigo Macedo \n" +"Language-Team: none\n" +"Language: pt_BR\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: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement__mr_count +msgid "# Maintenance Requests" +msgstr "# Solicitações de Manutenção" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.partner_agreement_form_view +msgid "Maintenance Requests" +msgstr "Solicitações de Manutenção" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__agreement_id +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__agreement_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_equipment_filter_agreement +msgid "Agreement" +msgstr "Acordo" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement_serviceprofile +msgid "Agreement Service Profiles" +msgstr "Perfis de Serviço do Acordo" + +#. module: agreement_maintenance +#: model_terms:ir.actions.act_window,help:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Create Maintenance Requests" +msgstr "Criar Solicitações de Manutenção" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement_serviceprofile__equipment_id +msgid "Equipment" +msgstr "Equipamento" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "Equipamento de Manutenção" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_request +msgid "Maintenance Request" +msgstr "Solicitação de Manutenção" + +#. module: agreement_maintenance +#: model:ir.actions.act_window,name:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Maintenance Requests" +msgstr "Solicitações de Manutenção" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_request_filter_agreement +msgid "Service Profile" +msgstr "Perfil de Serviço" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__serviceprofile_ids +msgid "Service Profiles" +msgstr "Perfis de Serviço" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.maintenance_equipment_form_view_agreement +msgid "Services" +msgstr "Serviços" + +#~ msgid "Display Name" +#~ msgstr "Exibir Nome" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Última Modificação Feita em" diff --git a/agreement_maintenance/i18n/zh_CN.po b/agreement_maintenance/i18n/zh_CN.po new file mode 100644 index 000000000..9efffed44 --- /dev/null +++ b/agreement_maintenance/i18n/zh_CN.po @@ -0,0 +1,81 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * agreement_maintenance +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-09-04 18:23+0000\n" +"Last-Translator: 黎伟杰 <674416404@qq.com>\n" +"Language-Team: none\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 3.8\n" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement__mr_count +msgid "# Maintenance Requests" +msgstr "# 维护请求" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.partner_agreement_form_view +msgid "Maintenance Requests" +msgstr "维护请求" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__agreement_id +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__agreement_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_equipment_filter_agreement +msgid "Agreement" +msgstr "协议" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_agreement_serviceprofile +msgid "Agreement Service Profiles" +msgstr "协议服务配置文件" + +#. module: agreement_maintenance +#: model_terms:ir.actions.act_window,help:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Create Maintenance Requests" +msgstr "创建维护请求" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_agreement_serviceprofile__equipment_id +msgid "Equipment" +msgstr "设备" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "维护设备" + +#. module: agreement_maintenance +#: model:ir.model,name:agreement_maintenance.model_maintenance_request +msgid "Maintenance Request" +msgstr "维护申请" + +#. module: agreement_maintenance +#: model:ir.actions.act_window,name:agreement_maintenance.action_maintenance_request_agreement_specific +msgid "Maintenance Requests" +msgstr "维护请求" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_request__serviceprofile_id +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.view_maintenance_request_filter_agreement +msgid "Service Profile" +msgstr "服务资料" + +#. module: agreement_maintenance +#: model:ir.model.fields,field_description:agreement_maintenance.field_maintenance_equipment__serviceprofile_ids +msgid "Service Profiles" +msgstr "服务资料" + +#. module: agreement_maintenance +#: model_terms:ir.ui.view,arch_db:agreement_maintenance.maintenance_equipment_form_view_agreement +msgid "Services" +msgstr "服务" diff --git a/agreement_maintenance/models/__init__.py b/agreement_maintenance/models/__init__.py new file mode 100644 index 000000000..2f7706636 --- /dev/null +++ b/agreement_maintenance/models/__init__.py @@ -0,0 +1,8 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import ( + agreement, + agreement_serviceprofile, + maintenance_request, + maintenance_equipment, +) diff --git a/agreement_maintenance/models/agreement.py b/agreement_maintenance/models/agreement.py new file mode 100644 index 000000000..cf2a72021 --- /dev/null +++ b/agreement_maintenance/models/agreement.py @@ -0,0 +1,16 @@ +# Copyright (C) 2021 - TODAY, Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class Agreement(models.Model): + _inherit = "agreement" + + mr_count = fields.Integer("# Maintenance Requests", compute="_compute_mr_count") + + def _compute_mr_count(self): + for ag_rec in self: + ag_rec.mr_count = self.env["maintenance.request"].search_count( + [("agreement_id", "in", ag_rec.ids)] + ) diff --git a/agreement_maintenance/models/agreement_serviceprofile.py b/agreement_maintenance/models/agreement_serviceprofile.py new file mode 100644 index 000000000..22551989d --- /dev/null +++ b/agreement_maintenance/models/agreement_serviceprofile.py @@ -0,0 +1,10 @@ +# Copyright (C) 2021 - TODAY, Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class AgreementServiceProfile(models.Model): + _inherit = "agreement.serviceprofile" + + equipment_id = fields.Many2one("maintenance.equipment", string="Equipment") diff --git a/agreement_maintenance/models/maintenance_equipment.py b/agreement_maintenance/models/maintenance_equipment.py new file mode 100644 index 000000000..0c4f581df --- /dev/null +++ b/agreement_maintenance/models/maintenance_equipment.py @@ -0,0 +1,13 @@ +# Copyright (C) 2021 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class MaintenanceEquipment(models.Model): + _inherit = "maintenance.equipment" + + agreement_id = fields.Many2one("agreement", string="Agreement") + serviceprofile_ids = fields.One2many( + "agreement.serviceprofile", "equipment_id", string="Service Profiles" + ) diff --git a/agreement_maintenance/models/maintenance_request.py b/agreement_maintenance/models/maintenance_request.py new file mode 100644 index 000000000..f5534cb3c --- /dev/null +++ b/agreement_maintenance/models/maintenance_request.py @@ -0,0 +1,11 @@ +# Copyright (C) 2021 - TODAY, Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class MaintenanceRequest(models.Model): + _inherit = "maintenance.request" + + agreement_id = fields.Many2one("agreement", "Agreement") + serviceprofile_id = fields.Many2one("agreement.serviceprofile", "Service Profile") diff --git a/agreement_maintenance/pyproject.toml b/agreement_maintenance/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/agreement_maintenance/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/agreement_maintenance/readme/CONFIGURE.md b/agreement_maintenance/readme/CONFIGURE.md new file mode 100644 index 000000000..37ab60ea0 --- /dev/null +++ b/agreement_maintenance/readme/CONFIGURE.md @@ -0,0 +1,7 @@ +To configure this module: + +- Go to Agreement \> Configuration \> Templates +- Create a new template with sections and clauses and their respective + content +- Go to Agreement \> Configuration \> Stages +- Create and reorder stages to match your process diff --git a/agreement_maintenance/readme/CONTRIBUTORS.md b/agreement_maintenance/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..7a4699a5e --- /dev/null +++ b/agreement_maintenance/readme/CONTRIBUTORS.md @@ -0,0 +1,5 @@ +- Patrick Wilson \<\> +- Bhavesh Odedra \<\> +- Wolfgang Hall \<\> +- Maxime Chambreuil \<\> +- Serpent Consulting Services Pvt. Ltd. \<\> diff --git a/agreement_maintenance/readme/CREDITS.md b/agreement_maintenance/readme/CREDITS.md new file mode 100644 index 000000000..1e00fb2b2 --- /dev/null +++ b/agreement_maintenance/readme/CREDITS.md @@ -0,0 +1,4 @@ +The development of this module has been financially supported by: + +- Pavlov Media +- Open Source Integrators diff --git a/agreement_maintenance/readme/DESCRIPTION.md b/agreement_maintenance/readme/DESCRIPTION.md new file mode 100644 index 000000000..020bfcbb1 --- /dev/null +++ b/agreement_maintenance/readme/DESCRIPTION.md @@ -0,0 +1 @@ +This module allows you to manage maintenance agreements and contracts. diff --git a/agreement_maintenance/readme/USAGE.md b/agreement_maintenance/readme/USAGE.md new file mode 100644 index 000000000..51d994428 --- /dev/null +++ b/agreement_maintenance/readme/USAGE.md @@ -0,0 +1,10 @@ +To use this module: + +- Go to Maintenance +- Create or select a maintenance request +- Select the Agreement +- Select the Service Profile related to the select agreement +- Go to Agreement +- Open the previous agreement and click on the smart button "Maintenance + Requests" to see the list of related maintenance requests +- Group the requests by Service Profile diff --git a/agreement_maintenance/static/description/icon.png b/agreement_maintenance/static/description/icon.png new file mode 100644 index 000000000..a99cce6be Binary files /dev/null and b/agreement_maintenance/static/description/icon.png differ diff --git a/agreement_maintenance/static/description/index.html b/agreement_maintenance/static/description/index.html new file mode 100644 index 000000000..9378cee9b --- /dev/null +++ b/agreement_maintenance/static/description/index.html @@ -0,0 +1,466 @@ + + + + + +Maintenance Agreements + + + +
+

Maintenance Agreements

+ + +

Beta License: AGPL-3 OCA/agreement Translate me on Weblate Try me on Runboat

+

This module allows you to manage maintenance agreements and contracts.

+

Table of contents

+ +
+

Configuration

+

To configure this module:

+
    +
  • Go to Agreement > Configuration > Templates
  • +
  • Create a new template with sections and clauses and their respective +content
  • +
  • Go to Agreement > Configuration > Stages
  • +
  • Create and reorder stages to match your process
  • +
+
+
+

Usage

+

To use this module:

+
    +
  • Go to Maintenance
  • +
  • Create or select a maintenance request
  • +
  • Select the Agreement
  • +
  • Select the Service Profile related to the select agreement
  • +
  • Go to Agreement
  • +
  • Open the previous agreement and click on the smart button “Maintenance +Requests” to see the list of related maintenance requests
  • +
  • Group the requests by Service Profile
  • +
+
+
+

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

+
    +
  • Pavlov Media
  • +
  • Open Source Integrators
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+

The development of this module has been financially supported by:

+
    +
  • Pavlov Media
  • +
  • Open Source Integrators
  • +
+
+
+

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.

+

Current maintainers:

+

max3903 marcos-mendez

+

This module is part of the OCA/agreement project on GitHub.

+

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

+
+
+
+ + diff --git a/agreement_maintenance/tests/__init__.py b/agreement_maintenance/tests/__init__.py new file mode 100644 index 000000000..b2447f46d --- /dev/null +++ b/agreement_maintenance/tests/__init__.py @@ -0,0 +1,3 @@ +# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html). + +from . import test_agreement_maintenance diff --git a/agreement_maintenance/tests/test_agreement_maintenance.py b/agreement_maintenance/tests/test_agreement_maintenance.py new file mode 100644 index 000000000..b6586769d --- /dev/null +++ b/agreement_maintenance/tests/test_agreement_maintenance.py @@ -0,0 +1,34 @@ +# Copyright (C) 2021 - TODAY, Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import odoo.tests.common as common +from odoo import fields + + +class TestAgreementMaintenance(common.TransactionCase): + def setUp(self): + super().setUp() + + self.agreement_obj = self.env["agreement"] + self.agreement_type_id = self.env["agreement.type"].create( + {"name": "Test Agreement Type", "active": True} + ) + self.product = self.env.ref("product.product_product_8_product_template") + + def test_fieldservice_purchase(self): + agreement_vals = { + "name": "Test Agreement", + "agreement_type_id": self.agreement_type_id.id, + "description": "Test Agreement", + "start_date": fields.Date.today(), + "end_date": fields.Date.today(), + } + agreement = self.agreement_obj.create(agreement_vals) + + maintenance_req = self.env.ref("maintenance.m_request_7") + maintenance_req.write({"agreement_id": agreement.id}) + + agreement._compute_mr_count() + self.assertEqual( + agreement.mr_count, 1, "Wrong no of Maintenance Request Count!" + ) diff --git a/agreement_maintenance/views/agreement_serviceprofile_view.xml b/agreement_maintenance/views/agreement_serviceprofile_view.xml new file mode 100644 index 000000000..02a288ef0 --- /dev/null +++ b/agreement_maintenance/views/agreement_serviceprofile_view.xml @@ -0,0 +1,18 @@ + + + + agreement.serviceprofile.form.equipment + agreement.serviceprofile + + + + + + + + diff --git a/agreement_maintenance/views/agreement_view.xml b/agreement_maintenance/views/agreement_view.xml new file mode 100644 index 000000000..70f59382a --- /dev/null +++ b/agreement_maintenance/views/agreement_view.xml @@ -0,0 +1,66 @@ + + + + Maintenance Requests + ir.actions.act_window + maintenance.request + list,form + [('agreement_id', '=', active_id)] + +

+ Create Maintenance Requests +

+
+
+ + + agreement.form.maintenance.request + agreement + + + + + + + + + + agreement.form.fsm.order.view + agreement + + + + + + + + + + +
diff --git a/agreement_maintenance/views/maintenance_equipment_view.xml b/agreement_maintenance/views/maintenance_equipment_view.xml new file mode 100644 index 000000000..d7006e7cd --- /dev/null +++ b/agreement_maintenance/views/maintenance_equipment_view.xml @@ -0,0 +1,56 @@ + + + + maintenance.equipment.form.agreement + maintenance.equipment + + + + + + + + + + + + + + + + + + + + + + + maintenance.equipment.select.agreement + maintenance.equipment + + + + + + + + diff --git a/agreement_maintenance/views/maintenance_request_view.xml b/agreement_maintenance/views/maintenance_request_view.xml new file mode 100644 index 000000000..8a2729119 --- /dev/null +++ b/agreement_maintenance/views/maintenance_request_view.xml @@ -0,0 +1,36 @@ + + + + maintenance.request.form.agreement + maintenance.request + + + + + + + + + + + + maintenance.request.select.agreement + maintenance.request + + + + + + + +