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:
- CRM
- e-Commerce
- Contabilitate
- Inventar
- PoS
- Proiect
- MRP
Această întrebare a fost marcată
2
Răspunsuri
5049
Vizualizări
You can got it as below:
self.env.user.emailor
self.env.user.email_formattedIt worked thank you
You can upvote for the answer.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-te| Related Posts | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
1
apr. 15
|
4193 | ||
|
|
1
mar. 15
|
8008 | ||
|
|
0
iun. 20
|
3282 | ||
|
|
1
mar. 24
|
2406 | ||
|
|
2
iul. 23
|
9873 |