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
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: 9071 times|
|Last updated: 3/14/17, 6:35 AM|