*I try to create a new party record as follow:*

{

"method": "model.party.party.create",

"params": [5, "02d34f6c010a46e4aab8a9deb4a12d17", {

"first_name": "p",

"name": "A"

}, {

"values": {

"first_name": "p",

"name": "A"

}

}]

}


*But gives me ERROR as follow:*



{

  "id": 0,

  "error": [

    "'unicode' object has no attribute 'copy'",

    "Traceback (most recent call last):\n  File 
\"/trytond/protocols/wsgi/__init__.py\", line 55, in jsonrpc_app\n    
response['result'] = dispatch(*args)\n  File 
\"/trytond/protocols/dispatcher.py\", line 158, in dispatch\n    result = 
rpc.result(meth(*c_args, **c_kwargs))\n  File 
\"/trytond/modules/party/party.py\", line 205, in create\n    vlist = 
[x.copy() for x in vlist]\nAttributeError: 'unicode' object has no 
attribute 'copy'\n"

  ]

}


*Help me to solve this*

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/7a94cbe1-135a-43b3-8155-a6c3062d5faa%40googlegroups.com.

Reply via email to