Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
7119 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
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.

Câu trả lời hay nhất

Hi,

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

Leave Management Odoo 12

Regards

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 24
1383
2
thg 12 23
15059
0
thg 10 23
33
3
thg 10 23
790
1
thg 10 23
569