تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
1629 أدوات العرض

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
مايو 25
258
2
مايو 25
859
0
نوفمبر 24
763
1
يوليو 24
2145
0
أغسطس 24
340