Finance · erp_run_action
Déclencher un workflow ERP (Odoo)
Confirme un devis ou une commande, valide une livraison, réserve le stock, marque un lead gagné ou perdu, annule : le bouton Odoo, sous validation humaine.
- Prix
- inclus
- Prérequis
- Odoo
- à brancher dans Paramètres → Intégrations
- Validation humaine
- Oui, par défaut
- écriture vers l'extérieur : un humain valide
- Fiabilité
- Vérifié
- pas encore mesuré
Entrée
| Champ | Type | Description |
|---|---|---|
| model * | string | Odoo model, e.g. sale.order |
| ids * | array | Record ids to act on (1-50). |
| action * | string | Workflow method, e.g. action_confirm, button_validate, action_set_won |
| context | object | Optional Odoo context, e.g. {"skip_sms": true}. |
Appeler cet outil
Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"erp_run_action","input":{"model":"…","ids":[],"action":"…","context":"…"}}'$
run({ "tool": "erp_run_action", "input": {"model":"…","ids":[],"action":"…","context":"…"} })