Skip to Content
Menu
This question has been flagged
588 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
Apr 25
676
2
Jan 25
766
0
Sep 24
4
0
Sep 24
1123
1
Jun 24
1535