Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
1742 Näkymät

Hi, 

We would like to automatically round the input of the check-in/check-out to the nearest, following the 7 minute rule.

Decimal hours are rounded to the nearest quarter hour with two decimal places (.00, .25, .50, .75).


How can this be done in Odoo? Any tips?


Thanks in advance!

Avatar
Hylkää
Paras vastaus

Hello Bart,


As per our understanding, you are stating about the Check In and Check Out fields within the Attendance module of Odoo.


The Check-In and Check-OuCheck-Out fields in the Attendance module are, by default, of the "Datetime" data type. However, the standard Odoo configuration does not include an automatic rounding feature for the minutes of these fields to the nearest hour.


To achieve the desired functionality of rounding the minutes to their nearest quarter-hour, a customization process is required. This entails implementing a specific rounding logic to adjust the original time values accordingly.


If you decide to proceed with this customization, our team is ready to assist you in implementing the necessary changes to meet your requirements. 

Regards,

Ksolves Team!

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
toukok. 25
2609
4
toukok. 25
2693
2
toukok. 25
6124
1
maalisk. 25
1805
4
maalisk. 25
4691