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

Hi Every one, I am here in a situation to access a file (js/py) present in some location in the openerp instance by using a simple url. And when ever we give the url in any browser it should that file and execute the code. Is there any such posibility.

If Yes, Please reply with a possibile procedure and location of file to be and url format to access the code

아바타
취소

you can use mod_wsgi in apache and wsgi file to execute a python file but ur question is not clear to understand put some example

Beware: the methods to write web controllers for V7 (using 'httprequest') is different than it is for V8 (using 'route'). Also note that the documentation in trunk is meant for V8+, it will not work on V7 (ask me how I know)

작성자 베스트 답변

Hi i came to know that we can call a python function by using a openerp controller methods to handle a Http request or a Json request in openerp.

Thanks for the support.

아바타
취소
관련 게시물 답글 화면 활동
0
11월 22
2918
2
5월 18
9495
2
7월 25
1266
1
5월 25
784
1
5월 25
729