تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
5190 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
أفضل إجابة

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/

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 23
8476
0
مارس 15
3915
0
مارس 15
3311
1
مارس 15
9120
0
أبريل 18
3780