Skip to content
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
125 changes: 125 additions & 0 deletions maintenance_product/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

===================
Maintenance Product
===================

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

.. |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_product
: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_product
: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 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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_product%0Aversion:%2019.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 <[email protected]>
- `Tecnativa <https://www.tecnativa.com>`__:

- Víctor Martínez
- Pedro M. Baeza
- Carolina Fernandez

- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

- `APSL-Nagarro <https://apsl.tech>`__

- Antoni Marroig <[email protected]>

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/19.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
18 changes: 18 additions & 0 deletions maintenance_product/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2022 Tecnativa - Víctor Martínez
# Copyright 2024 Tecnativa - Carolina Fernandez
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Maintenance Product",
"version": "19.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"],
}
74 changes: 74 additions & 0 deletions maintenance_product/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# 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-07-22 23:09+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\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.17\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_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,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_template
#: 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_product
msgid "Product Variant"
msgstr "Variante de Producto"

#~ msgid "Display Name"
#~ msgstr "Nombre mostrado"

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

#~ msgid "Last Modified on"
#~ msgstr "Última modificación el"

#~ msgid "Product Template"
#~ msgstr "Plantilla de producto"
73 changes: 73 additions & 0 deletions maintenance_product/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# 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: 2023-07-08 11:09+0000\n"
"Last-Translator: mymage <[email protected]>\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_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_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,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_template
#: 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_product
msgid "Product Variant"
msgstr "Variante prodotto"

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

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

#~ msgid "Last Modified on"
#~ msgstr "Ultima modifica il"

#~ 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 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_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_template
#: 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_product
msgid "Product Variant"
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