I'd like to be able to print the image of a product on the various pdf reports that Odoo outputs - like the Quotation/Order, the 
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
            
                2
                
                    Respuestas
                
            
        
        
            
                7554
                
                    Vistas
                
            
        
    You can inherit and override the QWEB report report_saleorder_document and add the following line:
<img t-if="l.product_id.image_small" t-att-src="'data:image/png;base64,%s' % l.product_id.image_small" style="max-height: 45px;"/>Hi,
To add the product image in the reports, have a look at this module :  Product image for sale reports
This will add the product image in sale report
Thanks
The answer may be irrelevant for the one who asked the question, but will help the one who are looking for the same
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|  | 2 sept 25  | 5074 | ||
|  | 4 mar 22  | 18078 | ||
|  | 2 dic 21  | 2165 | ||
|  | 0 oct 21  | 3426 | ||
| 
            
                How to use urls as product images?
            
            
                    Resuelto
            
         |  | 2 dic 19  | 24074 | 
