Skip to Content
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
7412 Представления

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

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Автор

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


Лучший ответ

can you show the the code example please

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
мая 25
599
1
февр. 23
2131
6
янв. 23
16079
2
дек. 22
4283
2
дек. 19
6657