print ( "#######################" , self .env.user)
the output is like this :- res.users(2,)
i don't want to do like "self.env.user.id" or "self.env.user.name" to get one data at a time. i wanted to know that all the data are inside it in dictionary format.
Thank you :)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
5318
Views
use read() function
self.env.user.read()
Thank you so much :)
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
May 25
|
481 | ||
|
4
May 25
|
1774 | ||
|
2
May 25
|
1873 | ||
|
1
Feb 25
|
5198 | ||
|
3
Dec 24
|
1732 |