Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
How can i search or get the field "id" from table "res_users" of the one that is currently logged in
How can i search or get the field "id" from table "res.users" of the one that is currently logged in.
i tried this one. my_id=self.pool.get('res.users').search(cr,uid,['id','=','id']), but it returns all records id ( i want the id only of the account im using currently)
because i want to use this "my_id" as a indicator where i will write my data in future.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/23/14, 9:12 PM|
|Seen: 718 times|
|Last updated: 3/16/15, 8:10 AM|