跳至內容
選單
此問題已被標幟
2 回覆
7934 瀏覽次數

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
1108
1
2月 23
2497
6
1月 23
16945
2
12月 22
4889
2
12月 19
7070