I am trying to create product or partner using Java, following the 
http://doc.openerp.com/developer/6_22_XML-RPC_web_services/index.html
page.

I can search and read.  
Create is giving me a hard time
error:

ERROR:web-services:[21] AttributeError: 'list' object has 
no attribute 'update'
 
//Partner's name
Object[] name   = new Object[] {"name", 
_name};
//Object "Partner"
 Object[] partner = new Object[] {name};

//creation asked
 Object[] params = new Object[] {this.dbName, 
this.uid, this.password, "res.partner", "create", partner};

//with supposed appropriate try catch:
 Object partner_id = xmlrpcClient.execute("execute", params);

It is working in Python.
So what would be the "object" like for a creation?

------------------------
Allez, hop, retournons au boulot, maintenant!!




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=60669#60669

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to