Reputation: 480
I want to display the current logged in user-id. I'm using odoo-xmlrpc node module to connect my express and odoo application.
odoo.execute_kw("res.users", "search_read", params, function( err,result) {
if (err) {
return console.log(err);
}
res.json(result);
});
here I can return all users. But I want to return the current user. I have found this article which is done with python
Upvotes: 1
Views: 1367