Link to a record
odoo_get_record_urlReturn the portal URL (shareable with customers, no Odoo login needed) and the backend URL (for internal users) for an Odoo record. Common use cases: 'share the invoice with the customer', 'give me a link to this sale order', 'send the delivery tracking URL'. Pass model (e.g. 'sale.order', 'account.move', 'stock.picking') and id. Not all models expose a public portal URL — the tool reports when none is available and always provides the backend URL for internal users.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>",
"id": "<id>"
},
"name": "odoo_get_record_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Record ID. | |
| model | Yes | Odoo model technical name (e.g. 'sale.order', 'account.move', 'res.partner'). |