odoo_get_field_translations
Retrieve current translations for any translatable field in Odoo records. Automatically detects field translation type and returns language-specific values.
Instructions
Read current translations for a translatable field on a record. For simple translate=True fields returns {lang: value}. For html_translate/xml_translate fields returns {lang: {term: value}}. Auto-detects the translate type via fields_get. Works on blog.post.content, blog.post.name, product.template.website_description, ir.ui.view.arch_db, any res.partner.name with translate=True, etc.
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>",
"res_id": "<res_id>",
"field_name": "<field_name>"
},
"name": "odoo_get_field_translations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| res_id | Yes | Record ID | |
| connection | No | default | |
| field_name | Yes |