Odoo Help

Welcome!

This community 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.

1

How to show the document name in the Mako Header?

By
Atchuthan - Technical Consultant, Sodexis Inc
on 9/17/14, 7:22 AM 825 views

I have a requirement in which I need to print Sales order number in all pages for multiple documents selected for a single pdf output with Webkit Mako.

I tried to get the Sales order number (SOXXXXXXXX) in Header and print for 'n' number of pages.

My case:
1. Select 3 SO records (S0000010, S0000011, S0000012) each having lines for 2 pages.
2. Print these selected records
3. In all pages, the last records number is only available @ header (S0000012).

When I looked at how webkit works,  I got to know that header and footer is loaded once only.  So, how can I make the Header value dynamic?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/17/14, 7:22 AM
Seen: 825 times
Last updated: 7/21/15, 7:38 AM