Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
On the API doc there is :
search_read(cr, uid, domain=None, fields=None, offset=0, limit=None, order=None, context=None)
I try with XML-RPC.
fields = ['email', 'phone', 'name', 'country_id'] args = [('is_company', '=', '1')] myresult = sock.execute(dbname, uid, pwd, 'res.partner', 'search_read',args, fields)
I receive an error message :
AttributeError: 'res.partner' object has no attribute 'search_read'
(i tried with "search.read" as well. Same error)
However, my webservice queries are working fine with "search" and "read". So is there a problem with the documentation ?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/1/13, 7:14 AM|
|Seen: 2893 times|
|Last updated: 3/16/15, 8:10 AM|