This question has been flagged

How to write salary rule to calculate the hourly based wage from attendance?
1. what objects can be called from worked_days
2. Is there any documentation available?

Avatar
Discard
Best Answer

You can't get attendance details from that object, you have to calculate from hr.attendance model.
worked_days is the One2many in hr.payslip fields u can access from there.
dont know about documentations.

Avatar
Discard