following official Odoo documentation (v17) on its external API, I'm testing all the samples showed there. Majority works fine but I'm stack on creating a new record
/models.execute_kw(db, uid, password, 'res.partner', 'write', [[id], {'name': 'Newer partner'}])
as a result Python drops this message
File "C:\Users\usuario\AppData\Local\Programs\Python\Python310\lib\xmlrpc\client.py", line 526, in __dump
raise TypeError("cannot marshal %s objects" % type(value))
TypeError: cannot marshal objects
Any help would be appreciated