Coder Social home page Coder Social logo

Feature Idea: Welcome Dashboard about odootools HOT 3 OPEN

vshn avatar vshn commented on August 15, 2024
Feature Idea: Welcome Dashboard

from odootools.

Comments (3)

ccremer avatar ccremer commented on August 15, 2024

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.

ccremer avatar ccremer commented on August 15, 2024

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.

tobru avatar tobru commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.