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

Is it possible for an Odoo instance to run PHP scripts on the website?
Is there any documentation?

아바타
취소
베스트 답변

You could use the subprocess library to run external commands like a PHP script: https://docs.python.org/3/library/subprocess.html

There are plenty of tutorials on how to execute PHP scripts with the use of Python. Please note that you should use this with caution, since subprocess can be prone to injections, which allows it to run unsafe commands and compromise the system.

I hope this helps!

아바타
취소
베스트 답변

Hi Josep,
For your information, the Odoo framework primarily uses Python as its programming language, and the web framework is based on a combination of Python and JavaScript. Odoo does not natively support PHP for its web functionality.


Hope it helps

아바타
취소
작성자

Thanks. Anyway, I'd like to know if this would be possible and if someone has experience of it.

관련 게시물 답글 화면 활동
2
7월 25
1486
1
5월 25
955
2
5월 25
1582
1
7월 24
3281
0
8월 24
341