post_message
Post a message to a record's chatter (mail.thread). subtype="note" (default) is an internal log; subtype="comment" notifies followers. Set bodyishtml=true for HTML markup. Optional partnerids and attachmentids reference existing partners and attachments.
How to use it
post_message is exposed by the MCP Server Odoo MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the post_message tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Server Odoo
uvx mcp-server-odooOther tools in MCP Server Odoo (9)
Server-side aggregation. Use this whenever the question is "totals/counts/groupings" rather than "list of records" — it pushes the work down to PostgreSQL instead of pulling raw rows. Dispatches to formattedreadgroup on Odoo 19+ (the new dedicated method) and falls back to readgroup with response no
Generic XML-RPC executekw escape hatch — invokes any public method on any model, for workflow actions not covered by CRUD (post invoice, confirm sale order, validate picking, etc.). Available only when both ODOOYOLO=true (full YOLO) and ODOOMCPENABLEMETHODCALLS=true are set; otherwise the tool is no
Create a new record in Odoo.
Delete a record from Odoo.
Retrieve a specific record by ID.
List all models enabled for MCP access.
List available resource URI templates and their patterns.
Search for records in any Odoo model with filters.
Update an existing record.