Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
10187 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

@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
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
2
bře 15
5073
0
čvc 16
5111
0
úno 25
1686
2
led 25
8373
3
čvc 24
29671