To get all IDs of users, you need to search for users with blank list which will return list of IDs of all users. Then you can browse them all.
user_ids = self.search(cr, uid, , context=context) for user in self.browse(cr, uid, user_ids, context=context): #Your code goes here
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: 5/6/13, 11:14 AM|
|Seen: 4720 times|
|Last updated: 3/16/15, 8:10 AM|