Skip to Content
Menu
This question has been flagged
1 Reply
2412 Views

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.

Avatar
Discard
Best Answer

use xml-rpc. Odoo supports xml-rpc to transfer information. Alternatively, you can make odoo REST enabled and use APIs to POST data

Avatar
Discard