跳至内容
菜单
此问题已终结
4 回复
7052 查看

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

形象
丢弃
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.

最佳答案

Hi,

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

Leave Management Odoo 12

Regards

形象
丢弃
最佳答案

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.

形象
丢弃
最佳答案

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 

形象
丢弃
最佳答案

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



形象
丢弃
相关帖文 回复 查看 活动
0
2月 24
1325
2
12月 23
14903
0
10月 23
33
3
10月 23
789
1
10月 23
569