Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6723 มุมมอง

I am implementing a REST api on top of openErp using xml-rpc, to boost performance I would like to update multiple objects with one xml-rpc call. I successfully implemented the update call for a single object:

params (Object[]):
- databaseName
- sessionId
- username
- object_name
- write
- args -> Object[]{id, fieldValues(Map<String, Object)>)

this works like expected, but now i would like to update multiple objects with one call so i thought i could just change the args to:

Object[]{Object[] ids, Object[] fieldValues), every item of fieldValue would be of type Map<String, Object>

where key is always the openErp field name and value the actual value to update.

But this call will throw an exception like:

org.apache.xmlrpc.XmlRpcException: 'list' object has no attribute 'copy'

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello Micheal Wittwer,

Did you get any update 

or 

Can you answer my question 

https://www.odoo.com/forum/help-1/question/java-odoo-web-api-client-73384 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ค. 24
6579
0
ส.ค. 22
2426
odoo module update error แก้ไขแล้ว
1
ม.ค. 20
6271
Call a new public method via xml rpc แก้ไขแล้ว
1
ธ.ค. 19
11653
How to update a field in recordset v10? แก้ไขแล้ว
2
ก.ค. 17
7587