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)])
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/28/16, 6:43 AM|
|Seen: 182 times|
|Last updated: 9/28/16, 7:25 AM|