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.

0

Can I use a .pdf document in the RML header?

By
Lawrence
on 10/4/13, 2:16 PM 1,094 views

Hello,

We have a company letterhead document which we apply to all outgoing official documents. This is a .pdf document with a header and footer.

Is it possible to use this document in the RML header file? I get an error message if I try the following:

<pagegraphics> <image file="home/openerp/addons/web/static/src/img/Letterhead.pdf" height="29.7cm" width="21.0cm"/> </pagegraphics>

However, if I use an A4 .jpg file then it works. The downside being a much larger file size for each and every document created, and a loss of resolution.

Any help would be very much appreaciated.

Thank you!

Lawrence

0

IBS

--IBS--
1302
| 4 5 8
Tétouan, Morocco
--IBS--

For more informations about IBS, please visit our website at www.ibs-na.com.

For a specific questions, collaboration or help, please send us an email to support@ibs-na.com

IBS
On 10/6/13, 3:24 PM

My advise to you is to recreate the header in RML code if it's possible.

0
Roel Adriaans
On 10/6/13, 6:53 PM

You need Reportlab PLUS for this. From their homepage:

An upgrade to ReportLab PLUS gives you:
 PageCatcher - Reuse your existing pdfs in new and exciting ways

Cost starts at 1185 GBP, or around 1 400 euro, 1900 us dollar, depending on the volume.. Read more here www.reportlab.com/software/reportlab-plus/

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

0 follower(s)

Stats

Asked: 10/4/13, 2:16 PM
Seen: 1094 times
Last updated: 3/16/15, 8:10 AM