Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

Hi!

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
sie 25
3330
2
mar 24
5861
2
sty 25
2137
0
mar 23
1761
2
sty 24
16455