From e43b5a7b33e7d58c7d0fd356cb7de7ff94851114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Wed, 22 Feb 2023 11:01:41 +0100 Subject: [PATCH 01/12] [ADD] maintenance_request_employee: New module TT41735 [UPD] Update maintenance_request_employee.pot [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: maintenance-13.0/maintenance-13.0-maintenance_request_employee Translate-URL: https://translation.odoo-community.org/projects/maintenance-13-0/maintenance-13-0-maintenance_request_employee/ --- maintenance_request_employee/README.rst | 84 ++++ maintenance_request_employee/__init__.py | 1 + maintenance_request_employee/__manifest__.py | 14 + maintenance_request_employee/i18n/es.po | 38 ++ .../i18n/maintenance_request_employee.pot | 34 ++ .../models/__init__.py | 1 + .../models/maintenance_request.py | 10 + .../readme/CONTRIBUTORS.rst | 4 + .../readme/DESCRIPTION.rst | 1 + .../static/description/icon.png | Bin 0 -> 8001 bytes .../static/description/icon.svg | 165 +++++++ .../static/description/index.html | 425 ++++++++++++++++++ .../views/maintenance_request_views.xml | 67 +++ 13 files changed, 844 insertions(+) create mode 100644 maintenance_request_employee/README.rst create mode 100644 maintenance_request_employee/__init__.py create mode 100644 maintenance_request_employee/__manifest__.py create mode 100644 maintenance_request_employee/i18n/es.po create mode 100644 maintenance_request_employee/i18n/maintenance_request_employee.pot create mode 100644 maintenance_request_employee/models/__init__.py create mode 100644 maintenance_request_employee/models/maintenance_request.py create mode 100644 maintenance_request_employee/readme/CONTRIBUTORS.rst create mode 100644 maintenance_request_employee/readme/DESCRIPTION.rst create mode 100644 maintenance_request_employee/static/description/icon.png create mode 100644 maintenance_request_employee/static/description/icon.svg create mode 100644 maintenance_request_employee/static/description/index.html create mode 100644 maintenance_request_employee/views/maintenance_request_views.xml diff --git a/maintenance_request_employee/README.rst b/maintenance_request_employee/README.rst new file mode 100644 index 000000000..24c953c66 --- /dev/null +++ b/maintenance_request_employee/README.rst @@ -0,0 +1,84 @@ +============================ +Maintenance Request Employee +============================ + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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/13.0/maintenance_request_employee + :alt: OCA/maintenance +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/maintenance-13-0/maintenance-13-0-maintenance_request_employee + :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/13.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds the option to define employees in maintenance requests. + +**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 smashing 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 `_ + + * Pedro M. Baeza + * Víctor Martínez + +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 `__: + +|maintainer-victoralmau| + +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_request_employee/__init__.py b/maintenance_request_employee/__init__.py new file mode 100644 index 000000000..0650744f6 --- /dev/null +++ b/maintenance_request_employee/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/maintenance_request_employee/__manifest__.py b/maintenance_request_employee/__manifest__.py new file mode 100644 index 000000000..4e16ea95c --- /dev/null +++ b/maintenance_request_employee/__manifest__.py @@ -0,0 +1,14 @@ +# Copyright 2023 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + "name": "Maintenance Request Employee", + "version": "13.0.1.0.0", + "category": "Maintenance", + "website": "https://github.com/OCA/maintenance", + "author": "Tecnativa, Odoo Community Association (OCA)", + "license": "AGPL-3", + "depends": ["hr_maintenance"], + "data": ["views/maintenance_request_views.xml"], + "installable": True, + "maintainers": ["victoralmau"], +} diff --git a/maintenance_request_employee/i18n/es.po b/maintenance_request_employee/i18n/es.po new file mode 100644 index 000000000..b5d0b9b77 --- /dev/null +++ b/maintenance_request_employee/i18n/es.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * maintenance_request_employee +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-02-22 10:23+0000\n" +"PO-Revision-Date: 2023-02-22 11:24+0100\n" +"Last-Translator: \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: \n" +"X-Generator: Poedit 3.0.1\n" + +#. module: maintenance_request_employee +#: model_terms:ir.ui.view,arch_db:maintenance_request_employee.maintenance_request_view_kanban_inherit_hr +msgid "Employee" +msgstr "" + +#. module: maintenance_request_employee +#: model:ir.model.fields,field_description:maintenance_request_employee.field_maintenance_request__employee_ids +msgid "Employees" +msgstr "Empleados" + +#. module: maintenance_request_employee +#: model_terms:ir.ui.view,arch_db:maintenance_request_employee.maintenance_request_view_search_inherit_hr +msgid "Involved Maintenances" +msgstr "Mantenimientos involucrados" + +#. module: maintenance_request_employee +#: model:ir.model,name:maintenance_request_employee.model_maintenance_request +msgid "Maintenance Request" +msgstr "Petición de mantenimiento" diff --git a/maintenance_request_employee/i18n/maintenance_request_employee.pot b/maintenance_request_employee/i18n/maintenance_request_employee.pot new file mode 100644 index 000000000..e99ed39d0 --- /dev/null +++ b/maintenance_request_employee/i18n/maintenance_request_employee.pot @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * maintenance_request_employee +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.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_request_employee +#: model_terms:ir.ui.view,arch_db:maintenance_request_employee.maintenance_request_view_kanban_inherit_hr +msgid "Employee" +msgstr "" + +#. module: maintenance_request_employee +#: model:ir.model.fields,field_description:maintenance_request_employee.field_maintenance_request__employee_ids +msgid "Employees" +msgstr "" + +#. module: maintenance_request_employee +#: model_terms:ir.ui.view,arch_db:maintenance_request_employee.maintenance_request_view_search_inherit_hr +msgid "Involved Maintenances" +msgstr "" + +#. module: maintenance_request_employee +#: model:ir.model,name:maintenance_request_employee.model_maintenance_request +msgid "Maintenance Request" +msgstr "" diff --git a/maintenance_request_employee/models/__init__.py b/maintenance_request_employee/models/__init__.py new file mode 100644 index 000000000..df8c9b58f --- /dev/null +++ b/maintenance_request_employee/models/__init__.py @@ -0,0 +1 @@ +from . import maintenance_request diff --git a/maintenance_request_employee/models/maintenance_request.py b/maintenance_request_employee/models/maintenance_request.py new file mode 100644 index 000000000..ef5b7602b --- /dev/null +++ b/maintenance_request_employee/models/maintenance_request.py @@ -0,0 +1,10 @@ +# Copyright 2023 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class MaintenanceRequest(models.Model): + _inherit = "maintenance.request" + + employee_ids = fields.Many2many(comodel_name="hr.employee", string="Employees") diff --git a/maintenance_request_employee/readme/CONTRIBUTORS.rst b/maintenance_request_employee/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..4c9d0f2a9 --- /dev/null +++ b/maintenance_request_employee/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* `Tecnativa `_ + + * Pedro M. Baeza + * Víctor Martínez diff --git a/maintenance_request_employee/readme/DESCRIPTION.rst b/maintenance_request_employee/readme/DESCRIPTION.rst new file mode 100644 index 000000000..2c33993b4 --- /dev/null +++ b/maintenance_request_employee/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module adds the option to define employees in maintenance requests. diff --git a/maintenance_request_employee/static/description/icon.png b/maintenance_request_employee/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..879fd25507d0c74baefdd54c3a8bbbbe7ceaafab GIT binary patch literal 8001 zcmXY02RK__*pHRkyFpM@tHUa>Dt1wSVvpEj#tLc%wMFf=6ph*~T3UOx_8vuSYEzV& zjn=Gwx8L{Wd2a4=ljoeAyyw2Zb>sDQHR-6K)F2RuPV3P_L*ShB@1O(&?;qP$6oC_! z_ak#(5QsbO-$9bPapVMi$l<4s^fU5u_6tNkb^-+k28z03+apj}YGOmXT7}Ct7&9Zko?=$fraxN0rjgGkXb#}@W=GIAzK@zmPUNUe>NV8VA;pAas-cCkcB1i@$NuE3{L_LW@J$p+qW? zB9)a8S!>-O3HV`fiyb={e%j+iGgzM{vlQfz)ix1cUSB^wK0bbn9C6$$v@Q=yK59L8 zXL;3IEezgb=zYekW^pF2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jXP+9+< ztU)PlvD?)FE!TIb{iR^A+e+i9lJKMtFFd8QzhPhOKTqiGy1pL3VAf(&ajD8rfcJ=` z;x^+^9J1E;4|Yw3gT@O zhMmcVsukE2Bk{#GHAcevg`d59%L@3LptOADPYl^V-p!fV#p6)yJ$L^4mAisaof53n zyt5oJqg!erA)jUA2cm5+4K_6AsXzdmecd1Q_M}M7W?4GbjLycO(P7|p%|H)sg18;9 zt;+09LTVY6rLOTys!sX;9?XUspN$2WKQGpKB|+29oV!(Ww4xcI2?p(PPS7cnDM$3U z)$}4*v?S58pbzBy-7Ht^WSh4~i6NA{UZ$p|^_ukO;pum6XMf^2kATPDAT4#>haXk# GqW%XvvNK-* literal 0 HcmV?d00001 diff --git a/maintenance_request_employee/static/description/icon.svg b/maintenance_request_employee/static/description/icon.svg new file mode 100644 index 000000000..7023bad91 --- /dev/null +++ b/maintenance_request_employee/static/description/icon.svg @@ -0,0 +1,165 @@ + + + + maintenance/static/description/icon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/maintenance_request_employee/static/description/index.html b/maintenance_request_employee/static/description/index.html new file mode 100644 index 000000000..246e2fa78 --- /dev/null +++ b/maintenance_request_employee/static/description/index.html @@ -0,0 +1,425 @@ + + + + + + +Maintenance Request Employee + + + +
+

Maintenance Request Employee

+ + +

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

+

This module adds the option to define employees in maintenance requests.

+

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 smashing 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
      +
    • Pedro M. Baeza
    • +
    • Víctor Martínez
    • +
    +
  • +
+
+
+

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.

+

Current maintainer:

+

victoralmau

+

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_request_employee/views/maintenance_request_views.xml b/maintenance_request_employee/views/maintenance_request_views.xml new file mode 100644 index 000000000..9e43b6fda --- /dev/null +++ b/maintenance_request_employee/views/maintenance_request_views.xml @@ -0,0 +1,67 @@ + + + + maintenance.request.view.search.inherit.hr + + maintenance.request + + + + + + + + + + + maintenance.request.view.form.inherit.hr + + maintenance.request + + + + + + + + maintenance.request.view.kanban.inherit.hr + + maintenance.request + + + + + +
+ + Employee + +
+
+
+
+
From 8a60bd2ed4946b55754eba8353e6f5ea72b1e273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Thu, 2 Mar 2023 12:48:11 +0100 Subject: [PATCH 02/12] [MIG] maintenance_request_employee: Migration to 15.0 TT41940 --- maintenance_request_employee/README.rst | 10 +++++----- maintenance_request_employee/__manifest__.py | 2 +- .../static/description/index.html | 8 ++++---- .../views/maintenance_request_views.xml | 5 +---- 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/maintenance_request_employee/README.rst b/maintenance_request_employee/README.rst index 24c953c66..5e6511a91 100644 --- a/maintenance_request_employee/README.rst +++ b/maintenance_request_employee/README.rst @@ -14,13 +14,13 @@ Maintenance Request Employee :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/13.0/maintenance_request_employee + :target: https://github.com/OCA/maintenance/tree/15.0/maintenance_request_employee :alt: OCA/maintenance .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/maintenance-13-0/maintenance-13-0-maintenance_request_employee + :target: https://translation.odoo-community.org/projects/maintenance-15-0/maintenance-15-0-maintenance_request_employee :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/13.0 + :target: https://runbot.odoo-community.org/runbot/240/15.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -38,7 +38,7 @@ 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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -79,6 +79,6 @@ Current `maintainer `__: |maintainer-victoralmau| -This module is part of the `OCA/maintenance `_ project on GitHub. +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_request_employee/__manifest__.py b/maintenance_request_employee/__manifest__.py index 4e16ea95c..8d172a8ec 100644 --- a/maintenance_request_employee/__manifest__.py +++ b/maintenance_request_employee/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Maintenance Request Employee", - "version": "13.0.1.0.0", + "version": "15.0.1.0.0", "category": "Maintenance", "website": "https://github.com/OCA/maintenance", "author": "Tecnativa, Odoo Community Association (OCA)", diff --git a/maintenance_request_employee/static/description/index.html b/maintenance_request_employee/static/description/index.html index 246e2fa78..8f57a1f0e 100644 --- a/maintenance_request_employee/static/description/index.html +++ b/maintenance_request_employee/static/description/index.html @@ -3,7 +3,7 @@ - + Maintenance Request Employee