Odoo Help


How to upload documents via API?

on 3/20/14, 6:44 PM 1,291 views

Is it possible to manage the dms and up/download documents via APIs? Possibly via CMIS standard protocol.

Mind And Go
On 1/4/18, 9:37 AM


As Odoo is full API framework, all the action you do in the Ui could be done in API. Odoo UI is a Client that use xmlrpc to send messages/actions to Odoo server.

So the answer is yes. To upload file you'll have first to encore in base64 your bianry so that the XMLRPC protocol accept the text value as a binary field. It's mostly the way emails are working.

Regarding CMIS protocol, some OCA repo https://github.com/OCA/connector-cmis are dealing with this.


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

0 follower(s)


Asked: 3/20/14, 6:44 PM
Seen: 1291 times
Last updated: 1/4/18, 9:37 AM