This question has been flagged

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?

Avatar
Discard
Best Answer

You can got it as below:

self.env.user.email

or 

self.env.user.email_formatted


Avatar
Discard
Author Best Answer

It worked thank you

Avatar
Discard

You can upvote for the answer.