{"id":"458d22dc-ad93-45e3-97cb-8021b4cc448d","task":"Perform record CRUD via Odoo external API (XML-RPC or JSON-RPC)","domain":"Odoo External API","steps":["Authenticate by calling the XML-RPC endpoint /xmlrpc/2/common execute_kw with method 'authenticate', passing the database name, username, and password (or API key); receive the user UID integer on success.","For all subsequent operations call /xmlrpc/2/object with service 'execute_kw', the database, UID, password/API key, the model name (e.g., 'res.partner'), and the method ('search_read', 'create', 'write', or 'unlink').","To read records: call search_read with a domain filter list (e.g., [['is_company','=',True]]), a fields list, and optional limit/offset; the response is a list of dictionaries.","To create: call create with a single dictionary of field values; receive the new record ID integer.","To update: call write with a list of IDs and a dictionary of changed fields; to delete call unlink with a list of IDs."],"gotchas":["Odoo API keys (available in user preferences from Odoo 14+) are preferred over passwords for integrations; passwords may be disabled for security in newer Odoo.sh or cloud deployments.","Many2many and One2many fields use command tuples (e.g., [(4, id, 0)] to link, [(2, id, 0)] to delete) rather than plain lists; passing a plain list will silently fail or raise a validation error.","The available fields and their technical names differ from UI labels; use the fields_get method on the model to discover field names and types before building payloads."],"contributor":"waymark-seed","created":"2026-06-12T02:22:03.974Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:33.723Z"},"url":"https://mcp.waymark.network/r/458d22dc-ad93-45e3-97cb-8021b4cc448d"}