How to add image in report
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
13764
Vues
Hi,
try this code,
1)image from static folder
<img class="img" src="/your_module/static/src/img/your_image.png" style="height:45%;width:100%;" />
2)Image from database
<img t-att-src="'data:image/png;base64,%s' % to_text(doc.yor_field_name)"/>
Thanks !!!
![]()
Aswini @ iWesabe
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire