Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
7590 Tampilan

How to Caluculate Half day Leave in OpenERP 7, Employee taking leave for half day but it is calculating full day leave. ex. If i taking a leave for 20-12-2013 9.00 to 13.00, but the leave calculation is Full day leave. How to fix this.

Avatar
Buang
Jawaban Terbai

The below patch Fixed the Issues to show the days calculated in 0.5 based on From and To date.

https://gist.github.com/tejastank/5089560#file-hr_holidays_leave_correction-patch

Avatar
Buang
Jawaban Terbai

In the leaves management of OpenERP, the duration in dates is used for the calendar visualization, but the duration in days is used for everything else. This is what will be taken into account in the leaves analysis and in the total number of days off in the list view. The way you have to use this feature is by specifying the dates first, then by specifying the correct number of days.

In you example, after entering the dates and times, just change the duration in days to 0.5.

Avatar
Buang
Penulis

Thanks Fabrice Henrion, If I entering the value 0.5 in leave request form it is accepted, approve also accepted, but The payslip for the employee is leave taken leave 0.5 but OpenERP take one day fully, 0.5 is not taken in the payslip Woking day calculation. Is there any way to solve this.

I can't reproduce this. Can you provide a step-by-step procedure?

Penulis

I creating Employee: Henrion Leave days:12 Days, I creating Leave Request to employee as Half of the day, ie 21-12-2013 9:00:00 to 21-12-2013 13:00:00 it is half of the day, I edited in Leave days 0.5, here it is saving fine. and Approval also fine. but i creating payslip for Henrion dated 1-12-2013 - 31-12-2013 when i select employee all the details are placed to particular fields, but check here i applied leave for half day and approval is half day only here it calculating full day. Notice that. How to solve this.

Post Terkait Replies Tampilan Aktivitas
2
Okt 25
433
1
Okt 25
553
1
Sep 25
531
3
Sep 25
728
1
Agu 25
852