跳至内容
菜单
此问题已终结
899 查看

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

形象
丢弃
相关帖文 回复 查看 活动
1
8月 25
301
1
8月 25
589
2
7月 25
3043
3
7月 25
748
1
6月 25
2256