This question has been flagged
2 Replies
6142 Views

for example:

Period = 1/5/2018 to 25/5/2018 Employee=Roger absent on 2/5/2018 and 17/5/2018 Total Absent= 2 times

Avatar
Discard
Best Answer

you can use orm method search_count() of attendance record for particular employee record within your time span. compare it, if any record is not created on particular date, then take it as absent

Avatar
Discard
Author

Thanks Hilar!!

Welcome

On Fri, May 25, 2018 at 4:40 PM, Krupesh Laiya <krupesh.laiya@gmail.com> wrote:

Thanks Hilar!!



-----------------------------------

Regards,

Krupesh Laiya

Odoo(Formally OpenERP) Developer,

E-mail: krupesh.laiya@gmail.com

Sent by Odoo S.A. using Odoo.




--
Hilar AK  Python / Odoo Developer

m: +917736617619
e: hilarak@gmail.com
Follow me:
twitteryoutubegithubstack-overflow


Best Answer

can you show the the code example please

Avatar
Discard