This question has been flagged

Hello, I followed this guide to connect and read data from odoo from Google script here:

\https://www.odoo.com/forum/help-1/question/how-to-connect-a-google-script-to-openerp-odoo-using-xml-rpc-68242

It is working perfectly! Now I would like to write back to odoo through the same JSONRPC API. Does anyone know how this would be done?

I see this in the code. Does something similar need to be created for the write function?

this.search_read = function(model,params)
{
params["model"]=model;
return this._jsonrpc2_call("call",db_settings.base_location + "/web/dataset/search_read",params).result.records;
}
Avatar
Discard