跳至內容
選單
此問題已被標幟
2 回覆
10241 瀏覽次數

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

頭像
捨棄
最佳答案

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

頭像
捨棄
作者 最佳答案

@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 ?

頭像
捨棄

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

相關帖文 回覆 瀏覽次數 活動
2
3月 15
5171
0
7月 16
5225
0
2月 25
1945
2
1月 25
8664
3
7月 24
29834