Skip to Content
Menu
This question has been flagged
748 Views

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

Avatar
Discard
Related Posts Replies Views Activity
1
Jun 25
1678
1
Jun 25
637
1
Apr 25
1354
2
Jan 25
1451
1
Jun 24
2287