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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
5320
Vistas
use read() function
self.env.user.read()
Thank you so much :)
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
may 25
|
484 | ||
|
4
may 25
|
1781 | ||
|
2
may 25
|
1881 | ||
|
1
feb 25
|
5209 | ||
|
3
dic 24
|
1739 |