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.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Oct 24
|
675 | ||
|
1
Apr 24
|
1115 | ||
|
0
Oct 23
|
879 | ||
|
0
Mar 23
|
1264 | ||
|
0
Jan 25
|
2057 |
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 />