I'm creating a module that needs to send an email to confirm some data, but I'm having problems trying to get the email of the user who is logged in, does anyone have any suggestions?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- 项目
- MRP
此问题已终结
2
回复
5045
查看
You can got it as below:
self.env.user.emailor
self.env.user.email_formattedIt worked thank you
You can upvote for the answer.
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
1
4月 15
|
4184 | ||
|
|
1
3月 15
|
7999 | ||
|
|
0
6月 20
|
3279 | ||
|
|
1
3月 24
|
2397 | ||
|
|
2
7月 23
|
9841 |