Skip to Content
Menu
This question has been flagged
4 Replies
6905 Views

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
Discard
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.

Best Answer

Hi,

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

Leave Management Odoo 12

Regards

Avatar
Discard
Best Answer

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
Discard
Best Answer

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
0
Feb 24
1194
2
Dec 23
14618
0
Oct 23
33
3
Oct 23
788
1
Oct 23
569