Skip to content

Commit 837ba3e

Browse files
committed
Merge PR #443 into 17.0
Signed-off-by pedrobaeza
2 parents fa0c72a + 511273a commit 837ba3e

15 files changed

+863
-0
lines changed
+88
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
============================
2+
Maintenance Request Employee
3+
============================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:2b54f9fc10d0ac22cedffa636f44ffe40daddf102aea3bddd96a9f92ac2609ee
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Production/Stable
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fmaintenance-lightgray.png?logo=github
20+
:target: https://github.com/OCA/maintenance/tree/17.0/maintenance_request_employee
21+
:alt: OCA/maintenance
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/maintenance-17-0/maintenance-17-0-maintenance_request_employee
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/maintenance&target_branch=17.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module adds the option to define employees in maintenance requests.
32+
33+
**Table of contents**
34+
35+
.. contents::
36+
:local:
37+
38+
Bug Tracker
39+
===========
40+
41+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/maintenance/issues>`_.
42+
In case of trouble, please check there if your issue has already been reported.
43+
If you spotted it first, help us to smash it by providing a detailed and welcomed
44+
`feedback <https://github.com/OCA/maintenance/issues/new?body=module:%20maintenance_request_employee%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
45+
46+
Do not contact contributors directly about support or help with technical issues.
47+
48+
Credits
49+
=======
50+
51+
Authors
52+
-------
53+
54+
* Tecnativa
55+
56+
Contributors
57+
------------
58+
59+
- `Tecnativa <https://www.tecnativa.com>`__
60+
61+
- Pedro M. Baeza
62+
- Víctor Martínez
63+
- Carlos Lopez
64+
65+
Maintainers
66+
-----------
67+
68+
This module is maintained by the OCA.
69+
70+
.. image:: https://odoo-community.org/logo.png
71+
:alt: Odoo Community Association
72+
:target: https://odoo-community.org
73+
74+
OCA, or the Odoo Community Association, is a nonprofit organization whose
75+
mission is to support the collaborative development of Odoo features and
76+
promote its widespread use.
77+
78+
.. |maintainer-victoralmau| image:: https://github.com/victoralmau.png?size=40px
79+
:target: https://github.com/victoralmau
80+
:alt: victoralmau
81+
82+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
83+
84+
|maintainer-victoralmau|
85+
86+
This module is part of the `OCA/maintenance <https://github.com/OCA/maintenance/tree/17.0/maintenance_request_employee>`_ project on GitHub.
87+
88+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright 2023 Tecnativa - Víctor Martínez
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3+
{
4+
"name": "Maintenance Request Employee",
5+
"version": "17.0.1.0.0",
6+
"category": "Maintenance",
7+
"website": "https://github.com/OCA/maintenance",
8+
"author": "Tecnativa, Odoo Community Association (OCA)",
9+
"license": "AGPL-3",
10+
"depends": ["hr_maintenance"],
11+
"data": ["views/maintenance_request_views.xml"],
12+
"installable": True,
13+
"maintainers": ["victoralmau"],
14+
"development_status": "Production/Stable",
15+
}
+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * maintenance_request_employee
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 13.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2023-02-22 10:23+0000\n"
10+
"PO-Revision-Date: 2023-07-06 20:08+0000\n"
11+
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
12+
"Language-Team: \n"
13+
"Language: es\n"
14+
"MIME-Version: 1.0\n"
15+
"Content-Type: text/plain; charset=UTF-8\n"
16+
"Content-Transfer-Encoding: 8bit\n"
17+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
18+
"X-Generator: Weblate 4.17\n"
19+
20+
#. module: maintenance_request_employee
21+
#: model_terms:ir.ui.view,arch_db:maintenance_request_employee.maintenance_request_view_kanban_inherit_hr
22+
msgid "Employee"
23+
msgstr "Empleado"
24+
25+
#. module: maintenance_request_employee
26+
#: model:ir.model.fields,field_description:maintenance_request_employee.field_maintenance_request__employee_ids
27+
msgid "Employees"
28+
msgstr "Empleados"
29+
30+
#. module: maintenance_request_employee
31+
#: model_terms:ir.ui.view,arch_db:maintenance_request_employee.maintenance_request_view_search_inherit_hr
32+
msgid "Involved Maintenances"
33+
msgstr "Mantenimientos involucrados"
34+
35+
#. module: maintenance_request_employee
36+
#: model:ir.model,name:maintenance_request_employee.model_maintenance_request
37+
msgid "Maintenance Request"
38+
msgstr "Petición de mantenimiento"
+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * maintenance_request_employee
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 15.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-03-08 21:22+0000\n"
10+
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
11+
"Language-Team: none\n"
12+
"Language: it\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.14.1\n"
18+
19+
#. module: maintenance_request_employee
20+
#: model_terms:ir.ui.view,arch_db:maintenance_request_employee.maintenance_request_view_kanban_inherit_hr
21+
msgid "Employee"
22+
msgstr "Dipendente"
23+
24+
#. module: maintenance_request_employee
25+
#: model:ir.model.fields,field_description:maintenance_request_employee.field_maintenance_request__employee_ids
26+
msgid "Employees"
27+
msgstr "Dipendenti"
28+
29+
#. module: maintenance_request_employee
30+
#: model_terms:ir.ui.view,arch_db:maintenance_request_employee.maintenance_request_view_search_inherit_hr
31+
msgid "Involved Maintenances"
32+
msgstr "Manutenzioni coinvolte"
33+
34+
#. module: maintenance_request_employee
35+
#: model:ir.model,name:maintenance_request_employee.model_maintenance_request
36+
msgid "Maintenance Request"
37+
msgstr "Richiesta manutenzione"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * maintenance_request_employee
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 15.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: \n"
15+
16+
#. module: maintenance_request_employee
17+
#: model_terms:ir.ui.view,arch_db:maintenance_request_employee.maintenance_request_view_kanban_inherit_hr
18+
msgid "Employee"
19+
msgstr ""
20+
21+
#. module: maintenance_request_employee
22+
#: model:ir.model.fields,field_description:maintenance_request_employee.field_maintenance_request__employee_ids
23+
msgid "Employees"
24+
msgstr ""
25+
26+
#. module: maintenance_request_employee
27+
#: model_terms:ir.ui.view,arch_db:maintenance_request_employee.maintenance_request_view_search_inherit_hr
28+
msgid "Involved Maintenances"
29+
msgstr ""
30+
31+
#. module: maintenance_request_employee
32+
#: model:ir.model,name:maintenance_request_employee.model_maintenance_request
33+
msgid "Maintenance Request"
34+
msgstr ""
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import maintenance_request
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright 2023 Tecnativa - Víctor Martínez
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
3+
4+
from odoo import fields, models
5+
6+
7+
class MaintenanceRequest(models.Model):
8+
_inherit = "maintenance.request"
9+
10+
employee_ids = fields.Many2many(comodel_name="hr.employee", string="Employees")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- [Tecnativa](https://www.tecnativa.com)
2+
- Pedro M. Baeza
3+
- Víctor Martínez
4+
- Carlos Lopez
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This module adds the option to define employees in maintenance requests.
Loading
Loading

0 commit comments

Comments
 (0)