I can easily install new modules in OpenERP v6.1 using XML-RPC from a Python script:
response = sock.execute(db, uid, pwd, 'ir.module.module', 'button_immediate_install', module_ids)
sometimes response is just False (eg. edi module), sometimes it’s just an indication to refresh the web client (eg. product module). That’s easy, I’ve got nothing to do.
But sometimes the newly installed module asks the client for some configuration (eg. the sales module or one of its dependencies asking to choose a Chart of Accounts template to import). When that happens the response is a big dictionary and I can guess at the values it’s asking me and the multiple choices for those values, but how can I respond back via XML-RPC?
In case anyone else finds this, it took me a long time to work out how to successfully install modules via XML-RPC.
Here is what I ended up with: