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
- Contabilidad
- Inventario
- PoS
- Proyectos
- MRP
Se marcó esta pregunta
2
Respuestas
5042
Vistas
You can got it as below:
self.env.user.emailor
self.env.user.email_formattedIt worked thank you
You can upvote for the answer.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
1
abr 15
|
4179 | ||
|
|
1
mar 15
|
7995 | ||
|
|
0
jun 20
|
3274 | ||
|
|
1
mar 24
|
2391 | ||
|
|
2
jul 23
|
9833 |