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

[16.0][MIG] maintenance_product: Migration to 16.0 #342

Merged
merged 11 commits into from
Jul 5, 2023
Merged
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
102 changes: 102 additions & 0 deletions maintenance_product/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
===================
Maintenance Product
===================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/15.0/maintenance_product
:alt: OCA/maintenance
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/maintenance-15-0/maintenance-15-0-maintenance_product
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/240/15.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module links *Maintenance Equipments* and *Products*, easing creation of new equipments.

**Table of contents**

.. contents::
:local:

Usage
=====

Equipment Categories:

* Go to *Maintenance > Configuration > Equipment Categories* and create a new one (or modify an existing one) filling in the new field *Product Category*.
* The name of the *Equipment Category* is set to the name of the *Product Category*.

Equipment:

* Go to *Maintenance > Equipments* and create a new one filling in the new field *Product*.
* The name of the *Equipment* is set to the name of the *Product*.
* The vendor of the *Equipment* is set to the seller of the *Product* (if only one is set).
* The vendor reference of the *Equipment* is set to the seller reference of the *Product* (if only one is set).
* The cost of the *Equipment* is set to the standard cost of the *Product*.

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_product%0Aversion:%2015.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
~~~~~~~

* Tecnativa

Contributors
~~~~~~~~~~~~

* César Fernández Domínguez <cesfernandez@outlook.com>

* `Tecnativa <https://www.tecnativa.com>`_:

* Víctor Martínez
* Pedro M. Baeza

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

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

|maintainer-victoralmau|

This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/15.0/maintenance_product>`_ 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_product/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions maintenance_product/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2022 Tecnativa - Víctor Martínez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Maintenance Product",
"version": "16.0.1.0.0",
"category": "Maintenance",
"website": "https://github.com/OCA/maintenance",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": ["maintenance", "product"],
"installable": True,
"data": [
"views/maintenance_equipment_view.xml",
"views/product_template_view.xml",
],
"maintainers": ["victoralmau"],
}
89 changes: 89 additions & 0 deletions maintenance_product/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * maintenance_product
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-23 13:57+0000\n"
"PO-Revision-Date: 2023-02-21 14:22+0000\n"
"Last-Translator: Víctor Martínez <victor.martinez@tecnativa.com>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_product_product__maintenance_ok
#: model:ir.model.fields,field_description:maintenance_product.field_product_template__maintenance_ok
msgid "Can be Maintenance"
msgstr "Puede ser un mantenimiento"

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment__display_name
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment_category__display_name
#: model:ir.model.fields,field_description:maintenance_product.field_product_category__display_name
#: model:ir.model.fields,field_description:maintenance_product.field_product_product__display_name
#: model:ir.model.fields,field_description:maintenance_product.field_product_template__display_name
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_product_category__equipment_category_ids
msgid "Equipment Categories"
msgstr "Categorías de equipamiento"

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_product_product__equipment_ids
msgid "Equipments"
msgstr "Equipos"

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment__id
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment_category__id
#: model:ir.model.fields,field_description:maintenance_product.field_product_category__id
#: model:ir.model.fields,field_description:maintenance_product.field_product_product__id
#: model:ir.model.fields,field_description:maintenance_product.field_product_template__id
msgid "ID"
msgstr "ID"

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment____last_update
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment_category____last_update
#: model:ir.model.fields,field_description:maintenance_product.field_product_category____last_update
#: model:ir.model.fields,field_description:maintenance_product.field_product_product____last_update
#: model:ir.model.fields,field_description:maintenance_product.field_product_template____last_update
msgid "Last Modified on"
msgstr "Última modificación el"

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_maintenance_equipment
msgid "Maintenance Equipment"
msgstr "Equipo de mantenimiento"

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_maintenance_equipment_category
msgid "Maintenance Equipment Category"
msgstr "Categoría Equipo de mantenimiento"

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_product_product
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment__product_id
msgid "Product"
msgstr "Producto"

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_product_category
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment__product_category_id
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment_category__product_category_id
msgid "Product Category"
msgstr "Categoría de producto"

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_product_template
msgid "Product Template"
msgstr "Plantilla de producto"
88 changes: 88 additions & 0 deletions maintenance_product/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * maintenance_product
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-10-24 11:43+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\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.14.1\n"

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_product_product__maintenance_ok
#: model:ir.model.fields,field_description:maintenance_product.field_product_template__maintenance_ok
msgid "Can be Maintenance"
msgstr "Manutenibile"

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment__display_name
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment_category__display_name
#: model:ir.model.fields,field_description:maintenance_product.field_product_category__display_name
#: model:ir.model.fields,field_description:maintenance_product.field_product_product__display_name
#: model:ir.model.fields,field_description:maintenance_product.field_product_template__display_name
msgid "Display Name"
msgstr "Nome visualizzato"

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_product_category__equipment_category_ids
msgid "Equipment Categories"
msgstr "Categorie attrezzatura"

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_product_product__equipment_ids
msgid "Equipments"
msgstr "Attrezzature"

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment__id
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment_category__id
#: model:ir.model.fields,field_description:maintenance_product.field_product_category__id
#: model:ir.model.fields,field_description:maintenance_product.field_product_product__id
#: model:ir.model.fields,field_description:maintenance_product.field_product_template__id
msgid "ID"
msgstr "ID"

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment____last_update
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment_category____last_update
#: model:ir.model.fields,field_description:maintenance_product.field_product_category____last_update
#: model:ir.model.fields,field_description:maintenance_product.field_product_product____last_update
#: model:ir.model.fields,field_description:maintenance_product.field_product_template____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"

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

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_maintenance_equipment_category
msgid "Maintenance Equipment Category"
msgstr "Categoria attrezzatura manutenzione"

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_product_product
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment__product_id
msgid "Product"
msgstr "Prodotto"

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_product_category
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment__product_category_id
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment_category__product_category_id
msgid "Product Category"
msgstr "Categoria prodotto"

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_product_template
msgid "Product Template"
msgstr "Modello prodotto"
58 changes: 58 additions & 0 deletions maintenance_product/i18n/maintenance_product.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * maintenance_product
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.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_product
#: model:ir.model.fields,field_description:maintenance_product.field_product_product__maintenance_ok
#: model:ir.model.fields,field_description:maintenance_product.field_product_template__maintenance_ok
msgid "Can be Maintenance"
msgstr ""

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_product_category__equipment_category_ids
msgid "Equipment Categories"
msgstr ""

#. module: maintenance_product
#: model:ir.model.fields,field_description:maintenance_product.field_product_product__equipment_ids
msgid "Equipments"
msgstr ""

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_maintenance_equipment
msgid "Maintenance Equipment"
msgstr ""

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_maintenance_equipment_category
msgid "Maintenance Equipment Category"
msgstr ""

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_product_product
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment__product_id
msgid "Product"
msgstr ""

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_product_category
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment__product_category_id
#: model:ir.model.fields,field_description:maintenance_product.field_maintenance_equipment_category__product_category_id
msgid "Product Category"
msgstr ""

#. module: maintenance_product
#: model:ir.model,name:maintenance_product.model_product_template
msgid "Product Template"
msgstr ""
4 changes: 4 additions & 0 deletions maintenance_product/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from . import maintenance_equipment
from . import product_category
from . import product_product
from . import product_template
Loading