Hi !
I'm modifying the Product Labels view in Odoo V.0. I'd like to insert pictures linked to the activation of new fields I've created.
Can you tell me where the images are stored so I can refer to this URL or something else in my view ?
Thanks !
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi !
I'm modifying the Product Labels view in Odoo V.0. I'd like to insert pictures linked to the activation of new fields I've created.
Can you tell me where the images are stored so I can refer to this URL or something else in my view ?
Thanks !
All attachments in odoo are stored under the table ir_attachments. Here odoo stores the res_model, res_id, its binary data, then the file type and so on.
product images stored in DB as Binary and you can find it in image_medium field under Product.Template model
<img ... > </img>
</t>
try this
Store it in your module folder under static/src/img and you reference it from XML
<img src='/module name/static/src/img/image_name />