Odoo Help


How to print invoice/quotation number in report header?

Erick Dyck
on 7/7/15, 6:00 AM 930 views


for our company reports I need to print the invoice/quotation number in the header. My first try was to put the header to the body, where I can print the number, but than I get many other problems so this way is no solution.

Axel Mendoza
On 7/14/15, 4:02 AM

Use the tag place:

Here I talk about how I use it to put elements in the header


Hello Axel, we are using QWeb for our reports, not RML. So this won't work I guess.

Erick Dyck
on 7/15/15, 1:45 AM

see this https://www.odoo.com/forum/help-1/question/how-to-have-custom-header-in-qweb-report-68544#answer_75254

Axel Mendoza
on 7/17/15, 12:28 PM

As I already wrote, because of some problems we can't put the headers in the "body". We are using two different headers, disabling one of them on the first page, the other on the nth page, realized with JS. If we now put the headers in the "body", the JS doesn't work anymore, so both headers are printed. Because of that they need to be in the real header template.

Erick Dyck
on 7/20/15, 1:49 AM

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

2 follower(s)


Asked: 7/7/15, 6:00 AM
Seen: 930 times
Last updated: 7/14/15, 4:02 AM