diff --git a/maintenance_equipment_status/README.rst b/maintenance_equipment_status/README.rst new file mode 100644 index 000000000..ab392a831 --- /dev/null +++ b/maintenance_equipment_status/README.rst @@ -0,0 +1,81 @@ +============================ +Maintenance Equipment Status +============================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:91856c17f15d6d6512dfd905fcc6a185239aec17bc84786b791595538155954e + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/maintenance_equipment_status + :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-maintenance_equipment_status + :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 allows to indicate status of an equipment. + +**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 +------------ + +- Adriá Gil +- Jordi Ballester Alomar +- David Alonso +- [APSL-Nagarro](https://apsl.tech): + + - Antoni Marroig + +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/maintenance_equipment_status/__init__.py b/maintenance_equipment_status/__init__.py new file mode 100644 index 000000000..0650744f6 --- /dev/null +++ b/maintenance_equipment_status/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/maintenance_equipment_status/__manifest__.py b/maintenance_equipment_status/__manifest__.py new file mode 100644 index 000000000..e1eb8cf79 --- /dev/null +++ b/maintenance_equipment_status/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2020 ForgeFlow S.L. (https://forgeflow.com) +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). +{ + "name": "Maintenance Equipment Status", + "version": "17.0.1.0.0", + "category": "", + "author": "ForgeFlow, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/maintenance", + "license": "LGPL-3", + "depends": ["base_maintenance"], + "data": [ + "security/ir.model.access.csv", + "views/maintenance_equipment_status_views.xml", + "views/maintenance_equipment_views.xml", + ], + "demo": ["data/demo_maintenance_equipment_status.xml"], + "installable": True, + "auto_install": False, + "application": False, +} diff --git a/maintenance_equipment_status/data/demo_maintenance_equipment_status.xml b/maintenance_equipment_status/data/demo_maintenance_equipment_status.xml new file mode 100644 index 000000000..1664fe692 --- /dev/null +++ b/maintenance_equipment_status/data/demo_maintenance_equipment_status.xml @@ -0,0 +1,31 @@ + + + + New + + + + Working + + + + Retired + + + + + + + + + + diff --git a/maintenance_equipment_status/i18n/es.po b/maintenance_equipment_status/i18n/es.po new file mode 100644 index 000000000..2a21fab32 --- /dev/null +++ b/maintenance_equipment_status/i18n/es.po @@ -0,0 +1,140 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * maintenance_equipment_status +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.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: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__active +msgid "Active" +msgstr "Activo" + +#. module: maintenance_equipment_status +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_form +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_search +msgid "Archived" +msgstr "Archivado" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__category_ids +msgid "Categories" +msgstr "Categor??as" + +#. module: maintenance_equipment_status +#: model_terms:ir.actions.act_window,help:maintenance_equipment_status.maintenance_equipment_status_action +msgid "Click to set a new status for your equipments." +msgstr "Hacer click para crear nuevos estados para los equipamientos." + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__display_name +msgid "Display Name" +msgstr "Nombre a mostrar" + +#. module: maintenance_equipment_status +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_form +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_search +msgid "Equipment Status" +msgstr "Estado del Equipamiento" + +#. module: maintenance_equipment_status +#: model:ir.actions.act_window,name:maintenance_equipment_status.maintenance_equipment_status_action +#: model:ir.ui.menu,name:maintenance_equipment_status.menu_maintenance_equipment_status_act +msgid "Equipment Statuses" +msgstr "Estados de Equipamiento" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__id +msgid "ID" +msgstr "ID" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status____last_update +msgid "Last Modified on" +msgstr "??ltima modificaci??n en" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__write_uid +msgid "Last Updated by" +msgstr "actualizado por última vez por" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__write_date +msgid "Last Updated on" +msgstr "última actualización el" + +#. module: maintenance_equipment_status +#: model:ir.model,name:maintenance_equipment_status.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "Equipo de Mantenimiento" + +#. module: maintenance_equipment_status +#: model:ir.model,name:maintenance_equipment_status.model_maintenance_equipment_status +msgid "Maintenance Equipment Status" +msgstr "Estados de Equipo de mantenimiento" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__name +msgid "Name" +msgstr "Nombre" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__note +msgid "Note" +msgstr "Nota" + +#. module: maintenance_equipment_status +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_form +msgid "Notes" +msgstr "Notas" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__sequence +msgid "Sequence" +msgstr "Secuencia" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment__status_id +msgid "Status" +msgstr "Estado" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,help:maintenance_equipment_status.field_maintenance_equipment_status__category_ids +msgid "" +"When set, this status will only be applicable to the equipments under these " +"categories." +msgstr "" +"Si se establece, este estado solo se aplicara a equipamientos de estas " +"categor??as." + +#. module: maintenance_equipment_status +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_form +msgid "e.g. Operational" +msgstr "p. e. Operativo" + +#~ msgid "Status name" +#~ msgstr "Nombre del Estado" + +#~ msgid "Equipment" +#~ msgstr "Equipamiento" diff --git a/maintenance_equipment_status/i18n/it.po b/maintenance_equipment_status/i18n/it.po new file mode 100644 index 000000000..6ffa8fb8b --- /dev/null +++ b/maintenance_equipment_status/i18n/it.po @@ -0,0 +1,134 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * maintenance_equipment_status +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-07-12 12:09+0000\n" +"Last-Translator: Francesco Foresti \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.17\n" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__active +msgid "Active" +msgstr "Attivo" + +#. module: maintenance_equipment_status +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_form +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_search +msgid "Archived" +msgstr "In archivio" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__category_ids +msgid "Categories" +msgstr "Categorie" + +#. module: maintenance_equipment_status +#: model_terms:ir.actions.act_window,help:maintenance_equipment_status.maintenance_equipment_status_action +msgid "Click to set a new status for your equipments." +msgstr "Fare clic per impostare un nuovo stato per le attrezzature." + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__create_uid +msgid "Created by" +msgstr "Creato da" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__create_date +msgid "Created on" +msgstr "Creato il" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: maintenance_equipment_status +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_form +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_search +msgid "Equipment Status" +msgstr "Stato attrezzatura" + +#. module: maintenance_equipment_status +#: model:ir.actions.act_window,name:maintenance_equipment_status.maintenance_equipment_status_action +#: model:ir.ui.menu,name:maintenance_equipment_status.menu_maintenance_equipment_status_act +msgid "Equipment Statuses" +msgstr "Stati attrezzatura" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__id +msgid "ID" +msgstr "ID" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__write_uid +msgid "Last Updated by" +msgstr "Ultimo aggiornamento di" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__write_date +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: maintenance_equipment_status +#: model:ir.model,name:maintenance_equipment_status.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "Attrezzatura manutenzione" + +#. module: maintenance_equipment_status +#: model:ir.model,name:maintenance_equipment_status.model_maintenance_equipment_status +msgid "Maintenance Equipment Status" +msgstr "Stato attrezzatura manutenzione" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__name +msgid "Name" +msgstr "Nome" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__note +msgid "Note" +msgstr "Nota" + +#. module: maintenance_equipment_status +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_form +msgid "Notes" +msgstr "Note" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__sequence +msgid "Sequence" +msgstr "Sequenza" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment__status_id +msgid "Status" +msgstr "Stato" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,help:maintenance_equipment_status.field_maintenance_equipment_status__category_ids +msgid "" +"When set, this status will only be applicable to the equipments under these " +"categories." +msgstr "" +"Quando impostato, questo stato potrà essere applicato solo alle attrezzature " +"di queste categorie." + +#. module: maintenance_equipment_status +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_form +msgid "e.g. Operational" +msgstr "es. Operativo" diff --git a/maintenance_equipment_status/i18n/maintenance_equipment_status.pot b/maintenance_equipment_status/i18n/maintenance_equipment_status.pot new file mode 100644 index 000000000..c9c61d4f8 --- /dev/null +++ b/maintenance_equipment_status/i18n/maintenance_equipment_status.pot @@ -0,0 +1,129 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * maintenance_equipment_status +# +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: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__active +msgid "Active" +msgstr "" + +#. module: maintenance_equipment_status +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_form +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_search +msgid "Archived" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__category_ids +msgid "Categories" +msgstr "" + +#. module: maintenance_equipment_status +#: model_terms:ir.actions.act_window,help:maintenance_equipment_status.maintenance_equipment_status_action +msgid "Click to set a new status for your equipments." +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__create_uid +msgid "Created by" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__create_date +msgid "Created on" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__display_name +msgid "Display Name" +msgstr "" + +#. module: maintenance_equipment_status +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_form +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_search +msgid "Equipment Status" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.actions.act_window,name:maintenance_equipment_status.maintenance_equipment_status_action +#: model:ir.ui.menu,name:maintenance_equipment_status.menu_maintenance_equipment_status_act +msgid "Equipment Statuses" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__id +msgid "ID" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status____last_update +msgid "Last Modified on" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__write_date +msgid "Last Updated on" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model,name:maintenance_equipment_status.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model,name:maintenance_equipment_status.model_maintenance_equipment_status +msgid "Maintenance Equipment Status" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__name +msgid "Name" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__note +msgid "Note" +msgstr "" + +#. module: maintenance_equipment_status +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_form +msgid "Notes" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment_status__sequence +msgid "Sequence" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,field_description:maintenance_equipment_status.field_maintenance_equipment__status_id +msgid "Status" +msgstr "" + +#. module: maintenance_equipment_status +#: model:ir.model.fields,help:maintenance_equipment_status.field_maintenance_equipment_status__category_ids +msgid "" +"When set, this status will only be applicable to the equipments under these " +"categories." +msgstr "" + +#. module: maintenance_equipment_status +#: model_terms:ir.ui.view,arch_db:maintenance_equipment_status.maintenance_equipment_status_view_form +msgid "e.g. Operational" +msgstr "" diff --git a/maintenance_equipment_status/models/__init__.py b/maintenance_equipment_status/models/__init__.py new file mode 100644 index 000000000..56e8b5a72 --- /dev/null +++ b/maintenance_equipment_status/models/__init__.py @@ -0,0 +1,2 @@ +from . import maintenance_equipment +from . import maintenance_equipment_status diff --git a/maintenance_equipment_status/models/maintenance_equipment.py b/maintenance_equipment_status/models/maintenance_equipment.py new file mode 100644 index 000000000..d9c98cd4e --- /dev/null +++ b/maintenance_equipment_status/models/maintenance_equipment.py @@ -0,0 +1,14 @@ +# Copyright 2020 ForgeFlow S.L. (https://forgeflow.com) +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +from odoo import fields, models + + +class MaintenanceEquipment(models.Model): + _inherit = "maintenance.equipment" + + status_id = fields.Many2one( + string="Status", + comodel_name="maintenance.equipment.status", + tracking=True, + ) diff --git a/maintenance_equipment_status/models/maintenance_equipment_status.py b/maintenance_equipment_status/models/maintenance_equipment_status.py new file mode 100644 index 000000000..f9226ad36 --- /dev/null +++ b/maintenance_equipment_status/models/maintenance_equipment_status.py @@ -0,0 +1,21 @@ +# Copyright 2020 ForgeFlow S.L. (https://forgeflow.com) +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). + +from odoo import fields, models + + +class MaintenanceEquipmentStatus(models.Model): + _name = "maintenance.equipment.status" + _description = "Maintenance Equipment Status" + _order = "sequence" + + active = fields.Boolean(default=True) + name = fields.Char() + note = fields.Text() + sequence = fields.Integer(default=10) + category_ids = fields.Many2many( + string="Categories", + comodel_name="maintenance.equipment.category", + help="When set, this status will only be applicable to the equipments " + "under these categories.", + ) diff --git a/maintenance_equipment_status/pyproject.toml b/maintenance_equipment_status/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/maintenance_equipment_status/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/maintenance_equipment_status/readme/CONFIGURATION.rst b/maintenance_equipment_status/readme/CONFIGURATION.rst new file mode 100644 index 000000000..b31f6ee3d --- /dev/null +++ b/maintenance_equipment_status/readme/CONFIGURATION.rst @@ -0,0 +1,5 @@ +To cotnfigure this module, you need to: + +#. Maintenance > Configuration > Equipment Statuses + +You can limit the usage of status to specific equipment categories. diff --git a/maintenance_equipment_status/readme/CONTRIBUTORS.md b/maintenance_equipment_status/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..f0d7eddf4 --- /dev/null +++ b/maintenance_equipment_status/readme/CONTRIBUTORS.md @@ -0,0 +1,5 @@ +- Adriá Gil \<\> +- Jordi Ballester Alomar \<\> +- David Alonso \<\> +- \[APSL-Nagarro\](): + - Antoni Marroig \<\> diff --git a/maintenance_equipment_status/readme/DESCRIPTION.md b/maintenance_equipment_status/readme/DESCRIPTION.md new file mode 100644 index 000000000..6f03b2146 --- /dev/null +++ b/maintenance_equipment_status/readme/DESCRIPTION.md @@ -0,0 +1 @@ +This module allows to indicate status of an equipment. diff --git a/maintenance_equipment_status/security/ir.model.access.csv b/maintenance_equipment_status/security/ir.model.access.csv new file mode 100644 index 000000000..55ce16e20 --- /dev/null +++ b/maintenance_equipment_status/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_maintenance_equipment_status,access_maintenance_equipment_status,model_maintenance_equipment_status,base.group_user,1,0,0,0 +access_maintenance_equipment_status_admin,access_maintenance_equipment_status_admin,model_maintenance_equipment_status,maintenance.group_equipment_manager,1,1,1,1 diff --git a/maintenance_equipment_status/static/description/icon.png b/maintenance_equipment_status/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/maintenance_equipment_status/static/description/icon.png differ diff --git a/maintenance_equipment_status/static/description/index.html b/maintenance_equipment_status/static/description/index.html new file mode 100644 index 000000000..7539f28d0 --- /dev/null +++ b/maintenance_equipment_status/static/description/index.html @@ -0,0 +1,426 @@ + + + + + +Maintenance Equipment Status + + + +
+

Maintenance Equipment Status

+ + +

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

+

This module allows to indicate status of an equipment.

+

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/maintenance_equipment_status/views/maintenance_equipment_status_views.xml b/maintenance_equipment_status/views/maintenance_equipment_status_views.xml new file mode 100644 index 000000000..885990924 --- /dev/null +++ b/maintenance_equipment_status/views/maintenance_equipment_status_views.xml @@ -0,0 +1,82 @@ + + + + maintenance.equipment.status.form + maintenance.equipment.status + +
+
+ + + +
+
+ + + + +
+ + +
+
+
+ + + + + maintenance.equipment.status.tree + maintenance.equipment.status + + + + + + + + + + maintenance.equipment.status.search + maintenance.equipment.status + + + + + + + + + + Equipment Statuses + maintenance.equipment.status + + +

+ Click to set a new status for your equipments. +

+
+
+ + diff --git a/maintenance_equipment_status/views/maintenance_equipment_views.xml b/maintenance_equipment_status/views/maintenance_equipment_views.xml new file mode 100644 index 000000000..7503ca925 --- /dev/null +++ b/maintenance_equipment_status/views/maintenance_equipment_views.xml @@ -0,0 +1,44 @@ + + + + + equipment.form + maintenance.equipment + + + + + + + + + equipment.tree + maintenance.equipment + + + + + + + + + equipment.kanban + maintenance.equipment + + + + + + +
+ +
+
+
+
+