Skip to Content
Menu
This question has been flagged
2 Replies
9220 Views

I'm using odoo 10 , after a small research on google , I found that odoo stores their product in ir_attachement table ,

i need to know on what form is stored the images ?

and how to use it if i'm writing query to database directly to fetch images with php ?

for more details check this image

https://imgur.com/a/UUeuc

Avatar
Discard
Best Answer

Images are stored in binary data under the table ir_attachment. please look here



https://www.odoo.com/forum/help-1/question/where-are-stored-the-images-128658#answer-128663

Avatar
Discard
Author Best Answer

@Hilar thx for your answer , any idea about retrieve this images and use it with my php application (ecommerce wesite) 

ps : i already have an idea about the odoo api and the website module of odoo but i need to retrive data throught php from the database directly so i need to convert this data 

if you can help ?

Avatar
Discard

you can use xmlrpc to access those datas, see updated answer

Related Posts Replies Views Activity
2
Mar 15
4259
0
Jul 16
4133
1
Jul 24
3500
3
Jul 24
27571
2
Jan 24
10135