跳至內容
選單
此問題已被標幟
2 回覆
1635 瀏覽次數

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.

相關帖文 回覆 瀏覽次數 活動
1
5月 25
290
2
5月 25
863
0
11月 24
765
1
7月 24
2148
0
8月 24
340