Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] maintenance_equipment_image: Migration to 17.0 #420

Open
wants to merge 16 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions maintenance_equipment_image/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
===========================
Maintenance Equipment Image
===========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:5e0e01b8d0355fe067a5080c15f4b58dd7125bc1fc8b9e307c4164f5851f2fde
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fmaintenance-lightgray.png?logo=github
:target: https://github.com/OCA/maintenance/tree/17.0/maintenance_equipment_image
: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_image
: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 adds images to the maintenance equipments.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/maintenance/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 <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_equipment_image%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Exo Software

Contributors
------------

- Pedro Castro Silva <pedrocs@exo.pt>

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-pedrocasi| image:: https://github.com/pedrocasi.png?size=40px
:target: https://github.com/pedrocasi
:alt: pedrocasi

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-pedrocasi|

This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/17.0/maintenance_equipment_image>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions maintenance_equipment_image/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
19 changes: 19 additions & 0 deletions maintenance_equipment_image/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2021 Exo Software
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Maintenance Equipment Image",
"summary": """Adds images to equipment.""",
"category": "Manufacturing/Maintenance",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"author": "Exo Software," "Odoo Community Association (OCA)",
"maintainers": ["pedrocasi"],
"website": "https://github.com/OCA/maintenance",
"depends": ["maintenance"],
"data": [
"views/maintenance_equipment_views.xml",
],
"installable": True,
"application": False,
}
52 changes: 52 additions & 0 deletions maintenance_equipment_image/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * maintenance_equipment_image
#
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 <informatica@totmaterial.es>\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_image
#: model_terms:ir.ui.view,arch_db:maintenance_equipment_image.hr_equipment_view_kanban
msgid "Equipment"
msgstr "Equipamiento"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_1920
msgid "Image"
msgstr "Imagen"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_1024
msgid "Image 1024"
msgstr "Image 1024"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_128
msgid "Image 128"
msgstr "Image 128"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_256
msgid "Image 256"
msgstr "Image 256"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_512
msgid "Image 512"
msgstr "Image 512"

#. module: maintenance_equipment_image
#: model:ir.model,name:maintenance_equipment_image.model_maintenance_equipment
msgid "Maintenance Equipment"
msgstr "Equipo de Mantenimiento"
61 changes: 61 additions & 0 deletions maintenance_equipment_image/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * maintenance_equipment_image
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-07-25 12:12+0000\n"
"Last-Translator: Francesco Foresti <francesco.foresti@ooops404.com>\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_image
#: model_terms:ir.ui.view,arch_db:maintenance_equipment_image.hr_equipment_view_kanban
msgid "Equipment"
msgstr "Attrezzatura"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_1920
msgid "Image"
msgstr "Immagine"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_1024
msgid "Image 1024"
msgstr "Immagine 1024"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_128
msgid "Image 128"
msgstr "Immagine 128"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_256
msgid "Image 256"
msgstr "Immagine 256"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_512
msgid "Image 512"
msgstr "Immagine 512"

#. module: maintenance_equipment_image
#: model:ir.model,name:maintenance_equipment_image.model_maintenance_equipment
msgid "Maintenance Equipment"
msgstr "Attrezzatura manutenzione"

#~ msgid "Display Name"
#~ msgstr "Nome visualizzato"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Ultima modifica il"
49 changes: 49 additions & 0 deletions maintenance_equipment_image/i18n/maintenance_equipment_image.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * maintenance_equipment_image
#
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_image
#: model_terms:ir.ui.view,arch_db:maintenance_equipment_image.hr_equipment_view_kanban
msgid "Equipment"
msgstr ""

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_1920
msgid "Image"
msgstr ""

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_1024
msgid "Image 1024"
msgstr ""

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_128
msgid "Image 128"
msgstr ""

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_256
msgid "Image 256"
msgstr ""

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_512
msgid "Image 512"
msgstr ""

#. module: maintenance_equipment_image
#: model:ir.model,name:maintenance_equipment_image.model_maintenance_equipment
msgid "Maintenance Equipment"
msgstr ""
62 changes: 62 additions & 0 deletions maintenance_equipment_image/i18n/pt.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * maintenance_equipment_image
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-12-04 10:04+0000\n"
"PO-Revision-Date: 2021-12-04 10:05+0000\n"
"Last-Translator: Pedro Castro Silva <pedrocs@exo.pt>\n"
"Language-Team: \n"
"Language: pt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: \n"
"X-Generator: Poedit 3.0\n"

#. module: maintenance_equipment_image
#: model_terms:ir.ui.view,arch_db:maintenance_equipment_image.hr_equipment_view_kanban
msgid "Equipment"
msgstr "Equipamento"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_1920
msgid "Image"
msgstr "Imagem"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_1024
msgid "Image 1024"
msgstr "Imagem 1024"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_128
msgid "Image 128"
msgstr "Imagem 128"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_256
msgid "Image 256"
msgstr "Imagem 256"

#. module: maintenance_equipment_image
#: model:ir.model.fields,field_description:maintenance_equipment_image.field_maintenance_equipment__image_512
msgid "Image 512"
msgstr "Imagem 512"

#. module: maintenance_equipment_image
#: model:ir.model,name:maintenance_equipment_image.model_maintenance_equipment
msgid "Maintenance Equipment"
msgstr "Equipamento de Manutenção"

#~ msgid "Display Name"
#~ msgstr "Nome a Apresentar"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Última Modificação Em"
1 change: 1 addition & 0 deletions maintenance_equipment_image/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import maintenance_equipment
9 changes: 9 additions & 0 deletions maintenance_equipment_image/models/maintenance_equipment.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2021 Exo Software, Lda.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import models


class MaintenanceEquipment(models.Model):
_inherit = ["maintenance.equipment", "image.mixin"]
_name = "maintenance.equipment"
3 changes: 3 additions & 0 deletions maintenance_equipment_image/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
1 change: 1 addition & 0 deletions maintenance_equipment_image/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Pedro Castro Silva \<<pedrocs@exo.pt>\>
1 change: 1 addition & 0 deletions maintenance_equipment_image/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module adds images to the maintenance equipments.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading