Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
799 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 25
178
1
thg 6 25
1864
1
thg 7 25
849
1
thg 4 25
1522
2
thg 1 25
1684