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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- 專案管理
- MRP
此問題已被標幟
1
回覆
6245
瀏覽次數
use read() function
self.env.user.read()
Thank you so much :)
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
|
2
10月 25
|
3475 | ||
|
|
1
9月 25
|
3359 | ||
|
|
3
7月 25
|
4563 | ||
|
|
1
5月 25
|
2706 | ||
|
|
4
5月 25
|
4127 |