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 extended the 'report.external_layout_footer' qweb view to display image.
Below is my code in the file reports/external_layout.xml:
<template id="report_footer_custom" inherit_id="report.external_layout_footer">
<xpath expr="//div[@class='footer']" position="replace">
And here is my __openerp__.py content :
But when I print a sale order, i can't view my image at the bottom of the page.
Does anyon has already faced this issue ?
Thank you for your help
remove this line
Your image should be saved inside static/src/img/image name
Try this code hope very help full.
<img src='/module name/static/src/img/image name with extention' style="max-height: 45px;"/>
if you find this answer helpful, please give me a thumbs up vote
Thanks & Regards,
Ankit H Gandhi
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 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: 2/17/15, 7:07 AM|
|Seen: 6382 times|
|Last updated: 1/11/17, 11:41 PM|