Skip to content
Maua.Culturewire

Odoo

ERP: contacts, sales, invoices, inventory and any other Odoo model, over the external JSON-RPC API of your instance.

Finance and accountingCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Instance URLRequiredHTTPS URL
    • DatabaseRequiredIdentifier
    • LoginRequired
    • API keySecretRequired

    Where to find them

    You need the address of your Odoo instance, the database name, your login (usually your e-mail) and an API key. Create the key in Odoo under your profile → “Account Security” → “New API Key”. Self-hosted instances must be reachable over public https.

Tools (2)

  • Search and read recordsODOO_SEARCH_READ_RECORDS

    Finds records of any Odoo model that match a domain and returns the requested fields (search_read). Use it to look up contacts (res.partner), invoices (account.move), sales orders (sale.order) and so on. Page with limit and offset; an empty fields list returns every field, which can be large.

    Required scopes

    No scopes required

    Input

    Search and read records input
    NameTypeDescription
    modelrequiredstringTechnical model name, e.g. res.partner, account.move, sale.order
    domainunknown[]Odoo domain, e.g. [["is_company", "=", true]] (empty: every record)Default: []
    fieldsstring[]Field names to return, e.g. ["name", "email"] (empty: all fields)Default: []
    limitintegerRecords to return (1 to 500)Default: 50
    offsetintegerRecords to skip, for pagingDefault: 0
  • Call a model methodODOO_CALL_METHOD

    Calls any public method of an Odoo model through execute_kw, e.g. create, write, unlink, read_group or action_post. It can create, change or delete data: check the arguments before calling. Use ODOO_SEARCH_READ_RECORDS to read records.

    Required scopes

    No scopes required

    Input

    Call a model method input
    NameTypeDescription
    modelrequiredstringTechnical model name, e.g. res.partner, account.move, sale.order
    methodrequiredstringMethod name, e.g. create, write, unlink, action_post
    argsunknown[]Positional arguments, e.g. [[42], {"name": "New name"}] for writeDefault: []
    kwargsobjectKeyword arguments, e.g. {"context": {"lang": "en_US"}}Default: {}