odoo_update_where
Bulk update Odoo records matching a domain. Preview affected records with before/after samples, then confirm to apply and record a justification.
Instructions
Modifier en masse les enregistrements d'un domaine.
Sans confirm : ne modifie RIEN, renvoie le nombre concerne et un echantillon
avant/apres. Montre-le a l'utilisateur, obtiens son accord, puis confirm=True.
motif justifie la modification dans le rapport.
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>",
"domain": "<domain>",
"values": "<values>"
},
"name": "odoo_update_where"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| motif | No | ||
| domain | Yes | ||
| values | Yes | ||
| confirm | No | ||
| max_records | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |