Is it possible for an Odoo instance to run PHP scripts on the website?
Is there any documentation?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
May 25
|
631 | ||
|
0
Nov 24
|
612 | ||
|
1
Jul 24
|
1922 | ||
|
0
Aug 24
|
340 | ||
|
1
Apr 24
|
1421 |