Comments (3)
Those are some good ideas! In a way we have this dashboard already, though it could be reworked a bit.
Let me break down some of them and potential issues / implementation notes
Sum of worked hours this year/month/week so far
Sum of week we already have, it's displayed right in /report. Sum of month might be somewhat doable. But year might not make sense as that only adds performance impact with little value. The page loads slower towards the end of the year, as around ~1000 attendance entries need to be loaded per request per user. Here I'd argue that the dedicated yearly report might be sufficient.
Percentage of hours-to-be-worked already reached this year/month/week
This might not be that easy, especially for the year. Because to calculate a percentage, we need the maximum that the employee should work ahead, but that's more theoretical. Issues that impact the percentage in advance, especially towards end of year:
- Employee changing the working schedule ("pensum") later
- Employee not using all holidays
- Employee not compensating all overtime
The calculation gets mighty complicated, not sure if it makes sense to implement this before going Odoo > 8. An imprecise calculation might only confuse users, especially if the calculation is off and users start wondering why, then it raises more questions than it answers.
Number of Legal Leaves taken so far, planned so far (future) and still to be planned
Should be "easy" enough. Though arguably this can be done in Odoo itself, but it may not be as easy to figure out as it should be.
Current Calculated Balance
Doable. This information requires the info from the last issued payslip. This logic is mostly the same as with the monthly report, only that the individual days aren't displayed. What needs to be addressed is that there can be a few days where a new month is started, but the payslip hasn't received the last definitive overtime info yet by PeopleOps.
Last Definitive Balance
Doable. Similar problem as before. There is a period of time where we need to look up now - 2months
of payslips to be able to figure out the last issued balance. When displaying the number, it should also display the month / payslip name from where it was taken. That should help the user to recognize that a newer payslip didn't yet receive a new definitive balance of the last month (which is done by PeopleOps a few days after starting the new month).
List of missing Timesheet entries, huge green checkmark if Timesheet is up-to-date
Currently, odootools lacks any kind of validation logic of reducing attendances to shifts, therefore any calculation goes kaputt when a entry is missing a signout or signin. I guess this can be implemented, but special attention needs to go into timezones as well for VSHNeers in Canada.
from odootools.
Another idea: If we want to display some fun stats, maybe we can create a dashboard with some fast, basic numbers, and a dedicated "stats" page with more statistical values that may take a few seconds to calculate. for example
- average overtime per month over last 12/24 months
- number of attendance entries
- number or avg duration of shifts (signin + signout pairs)
- average length of lunchtime maybe?
- ratio of normal work shifts vs oncall over last x months
- trends and predictions of overtime towards end of year, maybe some charts?
I'm sure there's much interesting stuff that can be read from attendances alone :)
from odootools.
In a way we have this dashboard already, though it could be reworked a bit.
It's a bit like a Dashboard, but it shows too much for a Welcome board. I'd expect just a few numbers and no details, which I can then dive into if I want.
Thanks for the analysis. I'd say let's do the ones which are doable and don't need an overly huge amount of effort or will significantly slow down the app because it needs to load too much data from Odoo.
from odootools.
Related Issues (20)
- Feature Idea: Make over/undertime visible HOT 7
- Feature Idea: Better handling of timezones for VSHN Canada HOT 4
- Monthly report should respect current payslip
- Validate Timesheet entries HOT 1
- Replace deprecated packages HOT 2
- Consider alternative recording of timezone HOT 2
- Feature Idea: Ignore Employees in Employee report
- Feature Request: Display total and remaining leaves
- Feature Request: "Browse" buttons HOT 1
- Feature Request: Overtime balance of year HOT 2
- Feature Request: Read FTE ratio from Odoo
- Feature Request: Get overtime balance from last issued payslip
- Feature Request: Write overtime delta into next payslip
- Feature Request: Help page that explains the terms and calculation methods
- Feature request: HR manager: Get List of employees and display their latest overtime
- Date ranges for data fetching are calculated incorrectly HOT 1
- Feature Request: Display report of the current week
- Feature Request: Show weekly report of past weeks (browsable)
- Feature Request: Overview of "Outside of office hours" Workhours
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odootools.