Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm trying to put a image in the background that will be drawn in every report where the header and footer are requiered. It is actually the template that is used in every official paper of my business thats why it is important. So i need to know how can i upload the image and the syntaxis to be used in the background. If i need a module please tell me
Thanks in advance
After template tag, i use the tag <pagegraphics> and <image> in the RML document like this :
<document filename="test.pdf"> <template pagesize="(21.5cm,21.5cm)" title="Test" author="Martin Simon" allowsplitting="20">
<pageTemplate id="main"> <pageGraphics> <image file="/addons/report/yourimage.png" x="6" y="0" width="21.5cm" height="21.5cm"/> </pageGraphics> <frame id="first" x1="78" y1="-3.8cm" width="451" height="698"/> </pageTemplate>
that give me a background image, for my document, just be careful, in the path of the image. to be correct. hope it helps.
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
|Asked: 6/5/13, 2:07 PM|
|Seen: 5481 times|
|Last updated: 3/16/15, 8:10 AM|