콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
6057 화면

Hi all, I am new to OpenERP and I am working on integrating Dropbox with OpenERP.

I am having trouble with the webhook feature of Dropbox this is why:

Upon creating the webhook address in Dropbox API, initially it sends out a GET with a challange that it wants bounced back to verify that you are in fact there listening. I was able to accomplish this with a controller

@http.httprequest

index(self, req, **kw):

if 'challenge' in kwargs:
return kwargs.get('challenge')

However, after this initial verif, dropbox then sends JSON POSTS to the same address.

The @http.httpresponse seems to not respond to any JSON whatssoever and @http.jsonrequest demands that there be a JSON request and will not work otherwise.

Any ideas? Thank you in advance!

아바타
취소
작성자 베스트 답변

Ill answer my own question!

Use req.httprequest.data as the JSON was in the body and not a RPC request.

아바타
취소
베스트 답변

Did you made the connection Odoo + dropbox?

아바타
취소

For those who are searching Odoo <> DropBox sync module: https://apps.odoo.com/apps/modules/12.0/dropbox/

베스트 답변

Hi,

Try refer the following free app related to dropbox 

https://apps.odoo.com/apps/modules/16.0/dropbox_integration/

Regards

아바타
취소
관련 게시물 답글 화면 활동
1
6월 25
2306
2
6월 25
659
2
7월 24
2830
3
6월 24
3483
1
5월 24
1022