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
- Contabilità
- Magazzino
- PoS
- Progetti
- MRP
La domanda è stata contrassegnata
1
Rispondi
6201
Visualizzazioni
use read() function
self.env.user.read()
Thank you so much :)
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
|
2
ott 25
|
3441 | ||
|
|
1
set 25
|
3328 | ||
|
|
3
lug 25
|
4544 | ||
|
|
1
mag 25
|
2675 | ||
|
|
4
mag 25
|
4096 |