Odoo Help


Send image through XML-RPC

Khulan Batbayar
on 12/9/14, 1:17 AM 1,940 views

Hello everybody,

Do you guys know how to upload image from PHP to OpenERP?


Ludo - 21South

--Ludo - 21South--
| 2 2 5
Zwijndrecht, Netherlands
--Ludo - 21South--


Ludo - 21South
On 12/9/14, 2:33 AM

On the database level, the image is just a huge string of base64 encoded information. Use the PHP equivalent of the python base64 to encode your image and then send it as you would any other variable.

This is what that looks like in python:


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 12/9/14, 1:17 AM
Seen: 1940 times
Last updated: 3/16/15, 8:10 AM