Odoo Help


How can I put user email on Header?

Josep Marti Oliver
on 5/10/13, 8:56 AM 2,234 views

I try this company.partner_id.email or " but I'd wish that my alias email show on the header, how can I put in the Header?


Juanjo Algaz
On 7/4/13, 8:38 AM

You can use a workaround to this:

<drawRightString x="7cm" y="24.6cm">[[ user.alias_id.alias_name or '' ]]@[[ user.alias_id.alias_domain or '' ]]  ...
On 5/13/13, 7:47 AM

You're using OpenERP7 or 6.1?

Well, I just tried it this way and it worked.

I added this line into rml-header:


<drawstring x="10.0cm" y="25.7cm">[[ o.partner_id.email ]] </drawstring>

I tested it with an invoice report - created with LibreOffice and ReportDesigner. (o is the object I use in my report)

Or did you mean by alias your user email address?

Then it would be:


<drawstring x="10.0cm" y="25.7cm">[[ user.email ]] </drawstring>

Josep Marti Oliver
On 5/17/13, 6:29 AM

Hi, thanks for your reply. I'm using OpenERP 7, and your help don't work.

I'll try another things perhaps someone will work ;)

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/10/13, 8:56 AM
Seen: 2234 times
Last updated: 3/16/15, 8:10 AM