I recently switched from Odoo 13 to Odoo 15. With Odoo 13, I could process 'stock.picking' with
models.execute_kw(db, uid, password, 'stock.immediate.transfer',
'create',
({'pick_ids': [pickid]})
)
models.execute_kw(db, uid, password, 'stock.immediate.transfer', 'process',
[createdid], {})
However now with Odoo 15, running the same process processes and returns True but the stock picking record does not close. I looked at the documentation but did not see anything regarding how to process immediate transfers.