Skip to content

Commit

Permalink
Merge pull request #975 from OCA/17.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/hr (17.0)
  • Loading branch information
bt-admin authored Apr 5, 2024
2 parents af7da68 + 97e7f26 commit 71e5e32
Show file tree
Hide file tree
Showing 30 changed files with 4,314 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ addon | version | maintainers | summary
[hr_employee_firstname](hr_employee_firstname/) | 17.0.1.0.0 | [![Savoir-faire Linux](https://github.com/Savoir-faire Linux.png?size=30px)](https://github.com/Savoir-faire Linux) [![luisg123v](https://github.com/luisg123v.png?size=30px)](https://github.com/luisg123v) | Adds First Name to Employee
[hr_employee_second_lastname](hr_employee_second_lastname/) | 17.0.1.0.0 | [![luisg123v](https://github.com/luisg123v.png?size=30px)](https://github.com/luisg123v) | Split Name in First Name, Father's Last Name and Mother's Last Name
[hr_holidays_settings](hr_holidays_settings/) | 17.0.1.0.0 | | Enables Settings Form for HR Holidays.
[hr_personal_equipment_request](hr_personal_equipment_request/) | 17.0.1.0.0 | | This addon allows to manage employee personal equipment

[//]: # (end addons)

Expand Down
110 changes: 110 additions & 0 deletions hr_personal_equipment_request/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
=============================
Hr Personal Equipment Request
=============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:eba98fcbc7bf28db13085a8e800b36e14717a8137678a978ab424af2a340dbcd
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Fhr-lightgray.png?logo=github
:target: https://github.com/OCA/hr/tree/17.0/hr_personal_equipment_request
:alt: OCA/hr
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/hr-17-0/hr-17-0-hr_personal_equipment_request
: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/hr&target_branch=17.0
:alt: Try me on Runboat

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

This module allows to create a personal equipment request and manage
allocation of employee personal equipment.

**Table of contents**

.. contents::
:local:

Usage
=====

First, products which can be requested by employees should be marked as
employee personal equipment. 1. Go to *Products* (In *Inventory* App for
example). 2. Select a product. 3. Mark the *Is Employee Personal
Equipment* flag.(An additional page appears which serves as a hook if
additional fields are needed).

To create a personal equipment request, a common user should follow the
next steps: 1. Go to menu *Employees -> Personal Equipment-> Employee
Personal Equipment Request* 2. Current employee is set as default. (An
Hr Officer can change the employee if needed). 3. At *Personal
Equipment* select the equipments you want to request. 4. Add
"Observations" at *Observations* if desired.

Then, an HR Manager should: 1. If everything is correct, "Accept" the
request. 2. Finally, when the equipment is given to the employee, the
allocation should be validated. This can be done in two ways: a) Click
the allocation in the equipment request that you want to validate, the
form view will be opened, and click "Validate". b) Go to *Employees ->
Personal Equipment-> Allocations*. Select the corresponding allocation
and click "Validate".

A common user can only see its own allocations. The HR Officer can see
all of them.

If needed, the allocation can be expired clicking the button "Expire",
which can be found at the allocation form view.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/hr/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/hr/issues/new?body=module:%20hr_personal_equipment_request%0Aversion:%2017.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
------------

- Alba Riera <[email protected]>
- `APSL <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.

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

{
"name": "Hr Personal Equipment Request",
"summary": """
This addon allows to manage employee personal equipment""",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"author": "Creu Blanca, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/hr",
"depends": ["product", "hr", "mail"],
"data": [
"security/hr_personal_equipment_request_security.xml",
"security/ir.model.access.csv",
"views/product_template_views.xml",
"views/hr_personal_equipment_views.xml",
"views/hr_personal_equipment_request_views.xml",
"views/hr_employee_views.xml",
],
}
Loading

0 comments on commit 71e5e32

Please sign in to comment.