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
- Bogføring
- Lager
- PoS
- Projekt
- MRP
Dette spørgsmål er blevet anmeldt
1
Svar
6204
Visninger
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!
Tilmeld dig| Related Posts | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
|
2
okt. 25
|
3447 | ||
|
|
1
sep. 25
|
3334 | ||
|
|
3
jul. 25
|
4545 | ||
|
|
1
maj 25
|
2677 | ||
|
|
4
maj 25
|
4098 |