how to overwrite a one to many records in odoo through default API
问题 how to overwrite a one to many records in odoo through odoo API ? This is my create json, what change I want to make in this json to overwrite(Replace) the existing? lead_product_ids ., now it is appending the records. Now i am getting multiple when update the records in this code instead of 0,0 what is the value, Please help. { "jsonrpc": "2.0", "params": { "model": "crm.lead", "method": "create", "args": [ { "type": "opportunity", "name": "Fgtrdhjkkmmmmmmmm1290", "pro_info": "Fggggggg