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
- Comptabilitat
- Inventari
- PoS
- Projectes
- MRP
This question has been flagged
1
Respondre
6203
Vistes
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!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
|
2
d’oct. 25
|
3447 | ||
|
|
1
de set. 25
|
3333 | ||
|
|
3
de jul. 25
|
4545 | ||
|
|
1
de maig 25
|
2677 | ||
|
|
4
de maig 25
|
4098 |