Odoo Help


Send image through XML-RPC

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

Hello everybody,

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


Ludo - Neobis

--Ludo - Neobis--
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--


Ludo - Neobis
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: 1798 times
Last updated: 3/16/15, 8:10 AM