ODXProxy

Allowed Actions

The 9 actions ODXProxy allows through to Odoo's execute_kw.

The action field must be one of these 9 values. Anything else is rejected with HTTP 400 and JSON-RPC code -32001.

ActionMeaning
search_countCount records matching a domain.
searchReturn record IDs matching a domain.
readRead fields for given IDs.
fields_getDescribe a model's fields.
search_readCombined search + read.
createCreate record(s).
writeUpdate record(s) by ID.
unlinkDelete record(s) by ID.
call_methodInvoke an arbitrary model method named by fn_name.

The action is passed straight through as the Odoo method name in execute_kw, except for call_method, where fn_name is used instead.

call_method requires a non-empty fn_name. Omitting it returns HTTP 400 with JSON-RPC code -32002. Any model method outside this allowlist must be invoked through call_method.