I'm trying to interact with Odoo 8 API and get a list of fields. The method is called by ripcord XMLRPC library and this is the sentence:
$models = ripcord::client($url.'/xmlrpc/2/object');
$models->execute_kw($dbname, $username, $password,'res.partner', 'fields_get', array(), array('attributes' => array('string', 'help', 'type')));
But I don't know how to get the response values...
I have found the Some of the useful document which is related with the ODOO Web Service API in different languages Like Python,PHP, Ruby And Java ,
Please Click On Below Link Which is helpful for your solution.
ODOO Web Service API Reference
I hope this should helpful for you ..:)
I have made my comments , kindly request you to find it as below it may help in your case.
Regarding: I don't know how to get the response values.
In ODOO ,We usually call the
fields_get
to get information about list of field associated with a specific model .ODOO have
fields_get
for retrieving all fields for a model .Now you have all field in key-value array. But these record are to much expressive ,because you have type
print_r($partner_field);
Now you have a array , just used it as per your requirement .
Here is code snippet for this :
I hope this may help you in finding the answer of your query .