Odoo Help

1

How to show the document name in the Mako Header?

By
Atchuthan - Technical Consultant, Sodexis Inc
on 9/17/14, 7:22 AM 1,030 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?

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.

Register

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)

Stats

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