Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
10240 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
5163
0
thg 7 16
5222
0
thg 2 25
1944
2
thg 1 25
8663
3
thg 7 24
29833