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
- Бухоблік
- Склад
- PoS
- Проект
- MRP
Це запитання позначене
1
Відповісти
6218
Переглядів
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!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
|
2
жовт. 25
|
3455 | ||
|
|
1
вер. 25
|
3341 | ||
|
|
3
лип. 25
|
4548 | ||
|
|
1
трав. 25
|
2683 | ||
|
|
4
трав. 25
|
4103 |