Skip to content

[18.0][MIG] hr_utilization_report: Migration to 18.0 #748

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

Open
wants to merge 47 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
7527ebe
[ADD] hr_utilization_report: generate Utilization Report from Task Logs
alexey-pelykh Dec 25, 2018
5c2c673
[UPD] Update hr_utilization_report.pot
oca-travis Feb 15, 2019
d808f45
[FIX] hr_utilization_report: readme
alexey-pelykh Mar 25, 2019
de47d47
[ADD] icon.png
OCA-git-bot Apr 2, 2019
347b28a
[UPD] README.rst
OCA-git-bot May 2, 2019
88633f2
[UPD] Update hr_utilization_report.pot
oca-travis Jun 5, 2019
809c8ee
Added translation using Weblate (German)
marylla Jul 10, 2019
5536d09
Translated using Weblate (German)
marylla Jul 12, 2019
99fab45
[UPD] README.rst
OCA-git-bot Jul 29, 2019
7cb0712
[FIX]hr_utilization_report: when field is empty
Jan 31, 2020
cb4337a
hr_utilization_report 12.0.1.0.1
OCA-git-bot Jan 31, 2020
51f8cbb
[IMP]hr_utilization_report: test case for empty data
Jan 31, 2020
a23b853
Added translation using Weblate (Spanish)
josepmy May 18, 2020
4bdbd0c
Translated using Weblate (Spanish)
josepmy May 18, 2020
df8ba57
Translated using Weblate (Spanish)
josepmy May 18, 2020
f548e67
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 4, 2020
1d22901
[UPD] README.rst
OCA-git-bot Nov 4, 2020
8c4eb13
[IMP] hr_utilization_report: black, isort, prettier.
dsolanki-initos Jan 24, 2022
3882f25
[MIG] Migrate module "hr_utilization_report" to v14.
dsolanki-initos Jan 28, 2022
02d4637
[UPD] Update hr_utilization_report.pot
Aug 4, 2022
1da7ab7
[UPD] README.rst
OCA-git-bot Aug 4, 2022
d5e9372
[FIX] Contributors formatting
alexey-pelykh Aug 4, 2022
574e9ba
[UPD] README.rst
OCA-git-bot Aug 4, 2022
d1a2d25
[FIX] hr_utilization_report & hr_utilization_analysis: _get_*_days_da…
alexey-pelykh Oct 12, 2022
ef3b1fb
hr_utilization_report 14.0.1.0.1
OCA-git-bot Oct 12, 2022
985d2dc
Added translation using Weblate (Italian)
mymage Jan 11, 2023
a65c2cc
Translated using Weblate (Italian)
mymage Jan 12, 2023
320b864
Translated using Weblate (Italian)
mymage Jan 26, 2023
961e0b6
Translated using Weblate (Italian)
mymage Apr 19, 2023
53648d1
Translated using Weblate (Italian)
mymage May 9, 2023
b63a8cb
[UPD] README.rst
OCA-git-bot Sep 3, 2023
c355632
Update translation files
weblate Oct 9, 2023
7eb13b5
Translated using Weblate (Italian)
francesco-ooops Dec 28, 2023
7f0e92e
Translated using Weblate (Italian)
mymage Dec 31, 2023
36b29ac
[FIX] hr_utilization_report missing _description
sergiocorato Mar 5, 2024
f6964a4
[UPD] Update hr_utilization_report.pot
Mar 14, 2024
f9ba4a1
[BOT] post-merge updates
OCA-git-bot Mar 14, 2024
a2b362e
Update translation files
weblate Mar 14, 2024
aecd889
Translated using Weblate (Italian)
mymage Mar 18, 2024
cba7824
Translated using Weblate (Italian)
mymage May 2, 2024
9d47351
[14.0][FIX] hr_utilization_report: lost i18n strings
mymage May 21, 2024
ab376c0
[UPD] Update hr_utilization_report.pot
May 21, 2024
266789e
[BOT] post-merge updates
OCA-git-bot May 21, 2024
98d2af0
Update translation files
weblate May 21, 2024
1f4a62f
Translated using Weblate (Italian)
mymage Jan 15, 2025
b02b5cf
[IMP] hr_utilization_report: pre-commit auto fixes
BhaveshHeliconia Mar 5, 2025
be7f68f
[MIG] hr_utilization_report : Migration to 18.0
BhaveshHeliconia Mar 5, 2025
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
130 changes: 130 additions & 0 deletions hr_utilization_report/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
============================
Task Logs Utilization Report
============================

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

.. |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/18.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-18-0/timesheet-18-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=18.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:

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

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

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

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

1. Go to *Employees > Departments*.
2. Select departments that should be used in the report
3. Press the *Action > Generate Utilization Report* button
4. 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:%2018.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 <[email protected]>
- `CorporateHub <https://corporatehub.eu/>`__

- Alexey Pelykh <[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/timesheet <https://github.com/OCA/timesheet/tree/18.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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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": "18.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",
],
}
Loading