All other model methods are exposed through RPC, except for the ones prefixed with an underscore, which are considered private. This means that we can use create, write, and unlink to modify data on the server as follows:
>>> api.execute_kw(db, uid, pwd, 'res.partner', 'create', [{'name': 'Packt Pub'}]) 46 >>> api.execute_kw(db, uid, pwd, 'res.partner', 'write', [[46], {'name': 'Packt Publishing'}]) True >>> api.execute_kw(db, uid, pwd, 'res.partner', 'read', [[46], ['id', 'name']]) [{'id': 46, 'name': 'Packt Publishing'}] >>> api.execute_kw(db, uid, pwd, 'res.partner', 'unlink', [[46]]) True
One limitation of the XML-RPC protocol is that it does not support None values. There is an XML-RPC extension that supports ...