Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
2094 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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!

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
2
lug 25
1352
1
mag 25
838
2
mag 25
1461
1
lug 24
3132
0
ago 24
341