Hello, I'm trying to create a simplified web app which allows different users to quickly create immediate transfers. Right now I'm in a situation where I can create a planned transfer and add notes and all the right products to it through the API but then I need to log into the Odoo web app to click Mark as TODO, Check Availability and Validate so that the transfer is completed.
My question is how can I create immediate transfer through the API using Python and xmlrpc?
To create the planned transfer I use these steps:
- Create partner.id
- Create stock.move with the partner.id id
- Create stock.move.line with the stock.move id
- Create stock.picking with the partner.id id
- Update the stock.picking with the stock.move id