Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
6911 Vistas

Hi all 

I am using odoo 12 CE

When i open the Leave module for new request by default duration is 0.50 days, this duration will reflect while selecting multiple days for leave request

Average hour per day : 8

Timezone : Asia/Muscat

How to solve this as 0.00 days while opening the New request record

Employee working hours Timezone are same

Avatar
Descartar
Employee Timezone is same as the Resource working Timezone

On Mon, Nov 11, 2019 at 11:08 AM Muhammad Anees <ranaanees30@gmail.com> wrote:

A new answer on How to change the leave duration (By default leave duration is 0.50 days) has been posted. Click here to access the post :

See post

Sent by Odoo S.A. using Odoo.

Please review again Working Times > Morning and After Noon hours.

Select the same hours defined on Working Times.

Also check Working Hours assigned to the Employee should be same.

Thank you for your response and valuable time
i just solved it

On Mon, Nov 11, 2019 at 11:43 AM Muhammad Anees <ranaanees30@gmail.com> wrote:

Please review again Working Times > Morning and After Noon hours.

Select the same hours defined on Working Times.

Also check Working Hours assigned to the Employee should be same.

Sent by Odoo S.A. using Odoo.

Thank you for your support


On Mon, Nov 11, 2019 at 11:43 AM Muhammad Anees <ranaanees30@gmail.com> wrote:

Please review again Working Times > Morning and After Noon hours.

Select the same hours defined on Working Times.

Also check Working Hours assigned to the Employee should be same.

Sent by Odoo S.A. using Odoo.

Mejor respuesta

Hi,

You can refer our following blog for the complete leave management in odoo 12

Leave Management Odoo 12

Regards

Avatar
Descartar
Mejor respuesta

To set default leave duration to 0.00 days in Odoo 12 CE, check employee work hours, timezone, and resource calendar, then update defaults in developer mode.

Avatar
Descartar
Mejor respuesta

Make sure the user's timezone is the same as the employee timezone.

In debug mode, go to the Preferences page of the user and set the correct timezone 

Avatar
Descartar
Mejor respuesta

Follow These Steps

From Leave Types > Take Leaves in Days
Technical > Resources > Working Times it should be  Average hour per day : 8  
TimeZone should be same for the employee, company and working times as well



Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
feb 24
1200
2
dic 23
14633
0
oct 23
33
3
oct 23
788
1
oct 23
569