Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
1986 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ค. 25
1217
1
พ.ค. 25
768
2
พ.ค. 25
1349
1
ก.ค. 24
2957
0
ส.ค. 24
341