We are a vocational college want to use Odoo with our MES to control our production line. If a customer buys a product in the Odoo webshop, a simple python command should sent the information to MES via a TCP/IP API. Currently we use our own module with a single model class inherited from sale.order.line. So now each time a product is added to the shopping cart, the method gets called (with state as 'draft').
We would like the command only be sent, if the order is completed by the user. Because we are a technical college, we would appreciate a tip, how this can be achieved.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
2412
Views
use xml-rpc. Odoo supports xml-rpc to transfer information. Alternatively, you can make odoo REST enabled and use APIs to POST data
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up