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_team_hierarchy: Migration to 16.0 #349

Merged
merged 16 commits into from
Jul 17, 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
73 changes: 73 additions & 0 deletions maintenance_team_hierarchy/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
==========================
Maintenance Team Hierarchy
==========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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_team_hierarchy
: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_team_hierarchy
: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 addon allows to define a hierarchy of teams and teams show the related requests

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

* Creu Blanca

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

* Enric Tobella <[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.

This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/15.0/maintenance_team_hierarchy>`_ 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_team_hierarchy/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
15 changes: 15 additions & 0 deletions maintenance_team_hierarchy/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2019 Creu Blanca
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Maintenance Team Hierarchy",
"summary": """
Create hierarchies on teams""",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "Creu Blanca,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/maintenance",
"depends": ["maintenance"],
"data": ["views/maintenance_team.xml"],
"demo": ["demo/maintenance_team_demo.xml", "demo/maintenance_request_demo.xml"],
}
21 changes: 21 additions & 0 deletions maintenance_team_hierarchy/demo/maintenance_request_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="m_request_1" model="maintenance.request">
<field name="name">Very Serious Issue 1</field>
<field name="user_id" ref="base.user_demo" />
<field name="owner_user_id" ref="base.user_admin" />
<field name="maintenance_team_id" ref="equipment_team_parent" />
</record>
<record id="m_request_2" model="maintenance.request">
<field name="name">Very Serious Issue 2</field>
<field name="user_id" ref="base.user_demo" />
<field name="owner_user_id" ref="base.user_admin" />
<field name="maintenance_team_id" ref="equipment_team_child_1" />
</record>
<record id="m_request_3" model="maintenance.request">
<field name="name">Very Serious Issue 3</field>
<field name="user_id" ref="base.user_demo" />
<field name="owner_user_id" ref="base.user_admin" />
<field name="maintenance_team_id" ref="equipment_team_child_2" />
</record>
</odoo>
14 changes: 14 additions & 0 deletions maintenance_team_hierarchy/demo/maintenance_team_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="equipment_team_parent" model="maintenance.team">
<field name="name">Parent Team</field>
</record>
<record id="equipment_team_child_1" model="maintenance.team">
<field name="name">Child Team 1</field>
<field name="parent_id" ref="equipment_team_parent" />
</record>
<record id="equipment_team_child_2" model="maintenance.team">
<field name="name">Child Team 2</field>
<field name="parent_id" ref="equipment_team_parent" />
</record>
</odoo>
86 changes: 86 additions & 0 deletions maintenance_team_hierarchy/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * maintenance_team_hierarchy
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-12-12 15:05+0000\n"
"Last-Translator: Jaime Arroyo <[email protected]>\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 3.9.1\n"

#. module: maintenance_team_hierarchy
#: model:maintenance.team,name:maintenance_team_hierarchy.equipment_team_child_1
msgid "Child Team 1"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:maintenance.team,name:maintenance_team_hierarchy.equipment_team_child_2
msgid "Child Team 2"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model,name:maintenance_team_hierarchy.model_maintenance_team
msgid "Maintenance Teams"
msgstr "Equipos de Mantenimiento"

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count
msgid "Number of Requests"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count_block
msgid "Number of Requests Blocked"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count_date
msgid "Number of Requests Scheduled"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count_unscheduled
msgid "Number of Requests Unscheduled"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count_high_priority
msgid "Number of Requests in High Priority"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__parent_id
msgid "Parent"
msgstr "Padre"

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__parent_path
#, fuzzy
msgid "Parent Path"
msgstr "Padre izquierdo"

#. module: maintenance_team_hierarchy
#: model:maintenance.team,name:maintenance_team_hierarchy.equipment_team_parent
msgid "Parent Team"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__request_ids
msgid "Request"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_ids
msgid "Requests"
msgstr ""

#~ msgid "Parent Right"
#~ msgstr "Padre derecho"
82 changes: 82 additions & 0 deletions maintenance_team_hierarchy/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * maintenance_team_hierarchy
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-06-09 13:08+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_team_hierarchy
#: model:maintenance.team,name:maintenance_team_hierarchy.equipment_team_child_1
msgid "Child Team 1"
msgstr "Discendente di Team 1"

#. module: maintenance_team_hierarchy
#: model:maintenance.team,name:maintenance_team_hierarchy.equipment_team_child_2
msgid "Child Team 2"
msgstr "Discendente di Team 2"

#. module: maintenance_team_hierarchy
#: model:ir.model,name:maintenance_team_hierarchy.model_maintenance_team
msgid "Maintenance Teams"
msgstr "Team manutenzione"

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count
msgid "Number of Requests"
msgstr "Numero richieste"

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count_block
msgid "Number of Requests Blocked"
msgstr "Numero di richieste bloccate"

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count_date
msgid "Number of Requests Scheduled"
msgstr "Numero di richieste schedulate"

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count_unscheduled
msgid "Number of Requests Unscheduled"
msgstr "Numero di richieste da schedulare"

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count_high_priority
msgid "Number of Requests in High Priority"
msgstr "Numero di richieste con alta priorità"

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__parent_id
msgid "Parent"
msgstr "Padre"

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__parent_path
msgid "Parent Path"
msgstr "Percorso padre"

#. module: maintenance_team_hierarchy
#: model:maintenance.team,name:maintenance_team_hierarchy.equipment_team_parent
msgid "Parent Team"
msgstr "Team padre"

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__request_ids
msgid "Request"
msgstr "Richiesta"

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_ids
msgid "Requests"
msgstr "Richieste"
79 changes: 79 additions & 0 deletions maintenance_team_hierarchy/i18n/maintenance_team_hierarchy.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * maintenance_team_hierarchy
#
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_team_hierarchy
#: model:maintenance.team,name:maintenance_team_hierarchy.equipment_team_child_1
msgid "Child Team 1"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:maintenance.team,name:maintenance_team_hierarchy.equipment_team_child_2
msgid "Child Team 2"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model,name:maintenance_team_hierarchy.model_maintenance_team
msgid "Maintenance Teams"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count
msgid "Number of Requests"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count_block
msgid "Number of Requests Blocked"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count_date
msgid "Number of Requests Scheduled"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count_unscheduled
msgid "Number of Requests Unscheduled"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_count_high_priority
msgid "Number of Requests in High Priority"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__parent_id
msgid "Parent"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__parent_path
msgid "Parent Path"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:maintenance.team,name:maintenance_team_hierarchy.equipment_team_parent
msgid "Parent Team"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__request_ids
msgid "Request"
msgstr ""

#. module: maintenance_team_hierarchy
#: model:ir.model.fields,field_description:maintenance_team_hierarchy.field_maintenance_team__todo_request_ids
msgid "Requests"
msgstr ""
Loading