I have a multicompany Odoo 8 installation with 1 company set up so far. I created a new Invoice template and I wanted to add a banner to the header.
The only way I found to use a custom image in a QWeb template was by uploading the image to the addons/report/static folder and referencing it in the QWeb template as src="/addons/report/static/banner.png".
This is not very scalable if I want more images, invoice templates or companies. I'd much rather reference the image like the company.logo or in a folder that is dedicated to one company.
It would also be preferable if I could upload the image through the Odoo UI and not through FTP. Is there an Odoo module to manage company image resources?
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
|Asked: 6/12/15, 4:24 AM|
|Seen: 465 times|
|Last updated: 6/12/15, 6:26 AM|