Hello,
When I take leave request for 1 day. it show 1 day properly on leave details but on payslip number of days display 1.13.
working time is 9 hours. also checking hr.holidays in postgresql number of days is 1. but don't understand on payslip how it take 1.13.I am using odoo v10. after taking working time is 8 hours there is no issue. why this happen?
hr_payroll.py
leaves = [value for key, value in leaves.items()]
for data in [attendances] + leaves:
data['number_of_days'] = uom_hour._compute_quantity(data['number_of_hours'], uom_day)\
if uom_day and uom_hour\
else data['number_of_hours'] / 8.0
res.append(data)
also explain bold lines.
any help?