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
[12.0][ADD] hr_utilization_report: generate Utilization Report from Task Logs #165
[12.0][ADD] hr_utilization_report: generate Utilization Report from Task Logs #165
Conversation
@aheficent @lreficent this report may be interesting for you as well |
aa6f091
to
a821646
Compare
47bb4fd
to
21a29e4
Compare
@pedrobaeza improved this one to include A/B reporting by not only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have the sensation that you are reinventing the BI pivot + XLS export in this module, but with such huge amount of code, it's difficult to review without dedicating hours to this.
@pedrobaeza regarding BI pivot + XML export reinvention: definitely no, I've tried that before doing this module, and in comparison to BI pivot this module:
In other words, BI pivot is a great tool for making simple 50-liner reports, which this module is not. |
21a29e4
to
a1057a4
Compare
@tarteo would you be interested in reviewing this module? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a1057a4
to
ae3323a
Compare
@tarteo great catch, fixed |
ae3323a
to
0de8e7c
Compare
@tarteo fixed, please re-review |
0de8e7c
to
8949d8c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexey-pelykh Maybe it's nice to make utilization hours red if it's smaller than capacity. If you can't work on it anymore it's OK it just would be nice to have. 😄
@tarteo if you have a suggestion which style to use (that is supported by most themes) - I'll add that :) Like |
@alexey-pelykh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant to approve.
@tarteo one question regarding this coloring: making strict less is 100% bad, there has to be some tiers, like up to 5% is ok, up to 20% is warning, above - fatal. |
@alexey-pelykh Sounds good, but then it must be a setting somehow because it can be different for every company. |
@tarteo In report wizard? In....where? |
Would be nice if there are default values per company and in the wizard you can change it to what you want. e.g. when the default threshold for ok is 5% the default threshold in the wizard is 5% but it can be changed in the wizard. |
8949d8c
to
9d9fff5
Compare
I'll add that to roadmap :) |
9d9fff5
to
1726a39
Compare
This PR has the |
This module allows to generate Utilization Report from Task Logs.
To create report using Utilization Report Wizard:
#. Go to Timesheets > Reporting > Utilization Report Wizard.
#. Configure the data set and click "View".
With
project_timesheet_holidays
module installed, leaves are not taken intoaccount: 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 intoaccount: 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%.