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:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- प्रोजेक्ट
- MRP
This question has been flagged
1
Reply
6206
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 up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
2
अक्तू॰ 25
|
3449 | ||
|
|
1
सित॰ 25
|
3334 | ||
|
|
3
जुल॰ 25
|
4545 | ||
|
|
1
मई 25
|
2677 | ||
|
|
4
मई 25
|
4099 |