younifyd
Menu

Call Method

Run any public model method, e.g. action_confirm on a sales order

Use it in a workflow

  1. Add a step and choose the Odoo connector.
  2. Pick the Call Method action (under erp).
  3. Fill in the fields below, then reference the result from later steps as {{callMethod.response.data}}.

Fields

modelstringrequired

The Odoo model's technical name, e.g. res.partner, sale.order, product.product, account.move.

methodstringrequired

The public method name, e.g. action_confirm, action_post, name_search.

idsstring

Records to run the method on. Leave empty for model-level methods.

argumentsstring

Named arguments as a JSON object, e.g. {"name": "Acme", "limit": 5}.

contextstring

Optional Odoo context as JSON, e.g. {"lang": "fr_FR", "active_test": false}.

Need more? See the Odoo guide for connection setup and behaviour shared by every action.

Was this page helpful?