Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
8865 Tampilan

Hi all,

I am trying to search a employee with its 'id', but it's not working. Actually the employee is 'inactive'.

So anyone have an idea how to search the inactive employee record?

self.pool.get('hr.employee').search(cr, uid, [('id','=',4562)])


Avatar
Buang
Jawaban Terbai

you can add one more condition as ('active','=', False) in search.

Avatar
Buang
Penulis

Ajeet can you close this question? I don't have enough karma.

Jawaban Terbai

Dear Jinesh,

Try to add on search domain :

('active','=',False)

I hope I helped you ...

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mar 15
3658
2
Mar 15
5467
1
Jul 25
391
Search a message Diselesaikan
1
Feb 25
1211
0
Sep 23
2151