Why am I getting a "list indices must be integers, not str" error while creating an order line via the XML-RPC?
I'm trying to create an order via XML-RPC using the OpenERP Online. All the referenced objects (products, customers and an empty order) are created fine. I get an error "list indices must be integers, not str" while creating the order line. Here are the (pretty-printed) request and response:
Request:
<?xml version="1.0" encoding="UTF-8"?>
<methodCall xmlns:ex="....">
<methodName>
<params>
<param>
<param>
<param>
<param>
<param>
<param>
<value>
<struct>
</struct>
</value>
</param>
</params>
</methodCall>
Response:
<?xml version="1.0"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<value>
</value>
</member>
<member>
<value>
Traceback (most recent call last):
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
</value>
</member>
</struct>
</value>
</fault>
</methodResponse>
What is the cause of this problem?
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: