Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am trying to integrate OpenERP 7.0 with an existing file hosting system in my institution. I would present an upload form and then, send this file to the host via webservice, and would get back the id of the file on the remote server and store it on OpenERP database, with some other info such as file name, description and date / time of upload, for example...
It seams to me that I would have to build (fully or partly) a web client in order to do that, and I'm not exactly at ease with that idea, so I have a lot of questions on this subject. Please someone could give me some examples or point me in the right direction (I've been searching google for weeks on this matter and still didn't find any info on this subject).
My questions are:
1 - How do I present the upload form in xml? (I'm guessing that if I use the field.binary() in my model, the <input type="file" /> will be shown in the client, but then, the file will be stored in OpenERP database, and that's not what I want...)
2 - How do I contact the remote service and receive his response.
3 - How do I build the view in XML to download files?
Many thanks to whoever helps in this matter! -FC.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/7/14, 9:20 AM|
|Seen: 1173 times|
|Last updated: 3/16/15, 8:10 AM|