Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
2040 Переглядів

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
1284
1
трав. 25
805
2
трав. 25
1412
1
лип. 24
3042
0
серп. 24
341