diff --git a/maintenance_equipment_ref/README.rst b/maintenance_equipment_ref/README.rst new file mode 100644 index 000000000..1e3d32e22 --- /dev/null +++ b/maintenance_equipment_ref/README.rst @@ -0,0 +1,83 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +=============================== +Maintenance Equipment Reference +=============================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:8420dbb51ddff9b6dc63ac30bb34ab2be2f188dd29e882ecfe0788e642d8b70b + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/license-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%2Fmaintenance-lightgray.png?logo=github + :target: https://github.com/OCA/maintenance/tree/19.0/maintenance_equipment_ref + :alt: OCA/maintenance +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/maintenance-19-0/maintenance-19-0-maintenance_equipment_ref + :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=19.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module introduces an Internal reference to the maintenance +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 +------- + +* Tecnativa + +Contributors +------------ + +- `Tecnativa `__ + + - Christian Ramos + +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_ref/__init__.py b/maintenance_equipment_ref/__init__.py new file mode 100644 index 000000000..0650744f6 --- /dev/null +++ b/maintenance_equipment_ref/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/maintenance_equipment_ref/__manifest__.py b/maintenance_equipment_ref/__manifest__.py new file mode 100644 index 000000000..3ef102b10 --- /dev/null +++ b/maintenance_equipment_ref/__manifest__.py @@ -0,0 +1,13 @@ +# Copyright 2026 Tecnativa - Christian Ramos +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Maintenance Equipment Reference", + "summary": "Adds reference field to maintenance equipment", + "version": "19.0.1.0.0", + "license": "AGPL-3", + "author": "Tecnativa, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/maintenance", + "depends": ["maintenance"], + "data": ["views/maintenance_views.xml"], +} diff --git a/maintenance_equipment_ref/i18n/es.po b/maintenance_equipment_ref/i18n/es.po new file mode 100644 index 000000000..d9764a7bb --- /dev/null +++ b/maintenance_equipment_ref/i18n/es.po @@ -0,0 +1,25 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * maintenance_equipment_ref +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: maintenance_equipment_ref +#: model:ir.model.fields,field_description:maintenance_equipment_ref.field_maintenance_equipment__ref +msgid "Internal Reference" +msgstr "Referencia interna" + +#. module: maintenance_equipment_ref +#: model:ir.model,name:maintenance_equipment_ref.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "Equipo de mantenimiento" diff --git a/maintenance_equipment_ref/i18n/it.po b/maintenance_equipment_ref/i18n/it.po new file mode 100644 index 000000000..8037fc9e0 --- /dev/null +++ b/maintenance_equipment_ref/i18n/it.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * maintenance_equipment_ref +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2026-02-23 11:09+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.15.2\n" + +#. module: maintenance_equipment_ref +#: model:ir.model.fields,field_description:maintenance_equipment_ref.field_maintenance_equipment__ref +msgid "Internal Reference" +msgstr "Riferimento interno" + +#. module: maintenance_equipment_ref +#: model:ir.model,name:maintenance_equipment_ref.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "Attrezzatura manutenzione" diff --git a/maintenance_equipment_ref/i18n/maintenance_equipment_ref.pot b/maintenance_equipment_ref/i18n/maintenance_equipment_ref.pot new file mode 100644 index 000000000..72dbebd36 --- /dev/null +++ b/maintenance_equipment_ref/i18n/maintenance_equipment_ref.pot @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * maintenance_equipment_ref +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.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_ref +#: model:ir.model.fields,field_description:maintenance_equipment_ref.field_maintenance_equipment__ref +msgid "Internal Reference" +msgstr "" + +#. module: maintenance_equipment_ref +#: model:ir.model,name:maintenance_equipment_ref.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "" diff --git a/maintenance_equipment_ref/i18n/sl.po b/maintenance_equipment_ref/i18n/sl.po new file mode 100644 index 000000000..a69584d2e --- /dev/null +++ b/maintenance_equipment_ref/i18n/sl.po @@ -0,0 +1,28 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * maintenance_equipment_ref +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2026-06-26 13:22+0000\n" +"Last-Translator: Matjaz Mozetic \n" +"Language-Team: none\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || " +"n%100==4 ? 2 : 3;\n" +"X-Generator: Weblate 5.15.2\n" + +#. module: maintenance_equipment_ref +#: model:ir.model.fields,field_description:maintenance_equipment_ref.field_maintenance_equipment__ref +msgid "Internal Reference" +msgstr "Interni sklic" + +#. module: maintenance_equipment_ref +#: model:ir.model,name:maintenance_equipment_ref.model_maintenance_equipment +msgid "Maintenance Equipment" +msgstr "Servisna oprema" diff --git a/maintenance_equipment_ref/models/__init__.py b/maintenance_equipment_ref/models/__init__.py new file mode 100644 index 000000000..12bf298f8 --- /dev/null +++ b/maintenance_equipment_ref/models/__init__.py @@ -0,0 +1 @@ +from . import maintenance diff --git a/maintenance_equipment_ref/models/maintenance.py b/maintenance_equipment_ref/models/maintenance.py new file mode 100644 index 000000000..039352638 --- /dev/null +++ b/maintenance_equipment_ref/models/maintenance.py @@ -0,0 +1,9 @@ +# Copyright 2026 Tecnativa - Christian Ramos +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from odoo import fields, models + + +class MaintenanceEquipment(models.Model): + _inherit = "maintenance.equipment" + + ref = fields.Char(string="Internal Reference") diff --git a/maintenance_equipment_ref/pyproject.toml b/maintenance_equipment_ref/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/maintenance_equipment_ref/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/maintenance_equipment_ref/readme/CONTRIBUTORS.md b/maintenance_equipment_ref/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..28ebd032b --- /dev/null +++ b/maintenance_equipment_ref/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- [Tecnativa](https://www.tecnativa.com) + - Christian Ramos diff --git a/maintenance_equipment_ref/readme/DESCRIPTION.md b/maintenance_equipment_ref/readme/DESCRIPTION.md new file mode 100644 index 000000000..1db2eb1d9 --- /dev/null +++ b/maintenance_equipment_ref/readme/DESCRIPTION.md @@ -0,0 +1 @@ +This module introduces an Internal reference to the maintenance equipment diff --git a/maintenance_equipment_ref/static/description/icon.png b/maintenance_equipment_ref/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/maintenance_equipment_ref/static/description/icon.png differ diff --git a/maintenance_equipment_ref/static/description/index.html b/maintenance_equipment_ref/static/description/index.html new file mode 100644 index 000000000..ad85de9bd --- /dev/null +++ b/maintenance_equipment_ref/static/description/index.html @@ -0,0 +1,433 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

Maintenance Equipment Reference

+ +

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

+

This module introduces an Internal reference to the maintenance +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

+
    +
  • Tecnativa
  • +
+
+
+

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_ref/views/maintenance_views.xml b/maintenance_equipment_ref/views/maintenance_views.xml new file mode 100644 index 000000000..5870bf9cc --- /dev/null +++ b/maintenance_equipment_ref/views/maintenance_views.xml @@ -0,0 +1,36 @@ + + + + equipment.form + maintenance.equipment + + + + + + + + + equipment.list + maintenance.equipment + + + + + + + + + equipment.search + maintenance.equipment + + + + + + + +