odoo_export_file
Export Odoo records to .xlsx or .csv, flattening relational fields to labels. Overwrite protection: supply ecraser=true to replace an existing file.
Instructions
Exporter une recherche vers un .xlsx/.csv local. Relations aplaties (many2one ->
libelle). Sans fields, prend les champs courants.
Refuse d'écraser un fichier existant : relancer avec ecraser=true pour forcer.
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>",
"path": "<path>"
},
"name": "odoo_export_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| limit | No | ||
| model | Yes | ||
| order | No | ||
| domain | No | [] | |
| fields | No | [] | |
| ecraser | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |