跳至内容
菜单
此问题已终结
2 回复
7891 查看

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

形象
丢弃
相关帖文 回复 查看 活动
1
5月 25
1094
1
2月 23
2481
6
1月 23
16932
2
12月 22
4865
2
12月 19
7043