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

[15.0][MIG]hr_utilization_report:Migration to 15.0 #653

Open
wants to merge 29 commits into
base: 15.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
71d00a8
[ADD] hr_utilization_report: generate Utilization Report from Task Logs
alexey-pelykh Dec 25, 2018
141886b
[UPD] Update hr_utilization_report.pot
oca-travis Feb 15, 2019
35f7f31
[FIX] hr_utilization_report: readme
alexey-pelykh Mar 25, 2019
0d55f5f
[ADD] icon.png
OCA-git-bot Apr 2, 2019
eb5fefa
[UPD] README.rst
OCA-git-bot May 2, 2019
be8ca73
[UPD] Update hr_utilization_report.pot
oca-travis Jun 5, 2019
f0aef39
Added translation using Weblate (German)
marylla Jul 10, 2019
e995ec6
Translated using Weblate (German)
marylla Jul 12, 2019
fb53d76
[UPD] README.rst
OCA-git-bot Jul 29, 2019
af8b90a
[FIX]hr_utilization_report: when field is empty
Jan 31, 2020
fa888e2
hr_utilization_report 12.0.1.0.1
OCA-git-bot Jan 31, 2020
255d4ea
[IMP]hr_utilization_report: test case for empty data
Jan 31, 2020
3c091a1
Added translation using Weblate (Spanish)
josepmy May 18, 2020
5b9f602
Translated using Weblate (Spanish)
josepmy May 18, 2020
37acfba
Translated using Weblate (Spanish)
josepmy May 18, 2020
5113964
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 4, 2020
d2de4cf
[UPD] README.rst
OCA-git-bot Nov 4, 2020
3cb7edb
[IMP] hr_utilization_report: black, isort, prettier.
dsolanki-initos Jan 24, 2022
ee5df61
[MIG] Migrate module "hr_utilization_report" to v14.
dsolanki-initos Jan 28, 2022
3e9978c
[UPD] Update hr_utilization_report.pot
Aug 4, 2022
2a212a4
[UPD] README.rst
OCA-git-bot Aug 4, 2022
febde92
[FIX] Contributors formatting
alexey-pelykh Aug 4, 2022
c890255
[UPD] README.rst
OCA-git-bot Aug 4, 2022
c4da8c7
[FIX] hr_utilization_report & hr_utilization_analysis: _get_*_days_da…
alexey-pelykh Oct 12, 2022
a01a21c
hr_utilization_report 14.0.1.0.1
OCA-git-bot Oct 12, 2022
3b5f858
Added translation using Weblate (Italian)
mymage Jan 11, 2023
3f34149
Translated using Weblate (Italian)
mymage Jan 12, 2023
3bc5495
[IMP]hr_utilization_report: black, isort, prettier
bizzappdev Mar 19, 2024
97c1b90
[MIG][15.0]hr_utilization_report:Migration to 15.0
bizzappdev Mar 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
126 changes: 126 additions & 0 deletions hr_utilization_report/README.rst
@@ -0,0 +1,126 @@
============================
Task Logs Utilization Report
============================

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

.. |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%2Ftimesheet-lightgray.png?logo=github
:target: https://github.com/OCA/timesheet/tree/15.0/hr_utilization_report
:alt: OCA/timesheet
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/timesheet-15-0/timesheet-15-0-hr_utilization_report
: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/timesheet&target_branch=15.0
:alt: Try me on Runboat

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

This module allows to generate Utilization Report from Task Logs.

Features:
* Configure source data set
* Select reported fields
* Select and reorder report line grouping
* Select time interval
* Configure capacity format (HH:MM, HH:MM:SS, or decimal)
* Configure utilization format (percentage or absolute)
* View in browser, export in PDF and XLSX formats

**Table of contents**

.. contents::
:local:

Usage
=====

To create report using Utilization Report Wizard:

#. Go to *Timesheets > Reporting > Utilization Report Wizard*.
#. Configure the data set and click "View".

To create report using Utilization Report Wizard on a specific set of Employees:

#. Go to *Employees > Employees*.
#. Select employees that should be used in the report
#. Press the *Action > Generate Utilization Report* button
#. Configure the report and export it in one of the formats

To create report using Utilization Report Wizard on a specific set of Departments:

#. Go to *Employees > Departments*.
#. Select departments that should be used in the report
#. Press the *Action > Generate Utilization Report* button
#. Configure the report and export it in one of the formats

With ``project_timesheet_holidays`` module installed, leaves are not taken into
account: for a single 4-hour entry on specific day with 8 working hours and
4 hours of leaves, capacity would be calculated as 8 hours and utilization
would be calculated as 100%.

Without ``project_timesheet_holidays`` module installed, leaves are taken into
account: for a single 4-hour entry on specific day with 8 working hours and
4 hours of leaves, capacity would be calculated as 4 hours and utilization
would be calculated as 100%.

Known issues / Roadmap
======================

* Add ``text-danger``/``text-warning`` threshold levels and reporting color,
congfigurable via company settings and alterable at wizard level.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/timesheet/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/timesheet/issues/new?body=module:%20hr_utilization_report%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
~~~~~~~

* CorporateHub

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

* Dhara Solanki <dhara.solanki@initos.com>
* `CorporateHub <https://corporatehub.eu/>`__

* Alexey Pelykh <alexey.pelykh@corphub.eu>

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/timesheet <https://github.com/OCA/timesheet/tree/15.0/hr_utilization_report>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions hr_utilization_report/__init__.py
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import wizards
from . import report
27 changes: 27 additions & 0 deletions hr_utilization_report/__manifest__.py
@@ -0,0 +1,27 @@
# Copyright 2018 Brainbean Apps (https://brainbeanapps.com)
# Copyright 2020 CorporateHub (https://corporatehub.eu)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Task Logs Utilization Report",
"version": "15.0.1.0.0",
"category": "Human Resources",
"website": "https://github.com/OCA/timesheet",
"author": "CorporateHub, " "Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"application": False,
"summary": "Generate Utilization Report from Task Logs",
"depends": [
"hr",
"hr_timesheet",
"report_xlsx",
],
"data": [
"security/ir.model.access.csv",
"views/hr_department.xml",
"views/hr_employee.xml",
"report/hr_utilization_report.xml",
"wizards/hr_utilization_report_wizard.xml",
],
}