Odoo icon

Odoo

Consume Odoo API

Actions20

Overview

This node integrates with the Odoo API to perform update operations on a custom resource within Odoo. It allows users to specify the custom resource type, the ID of the resource to update, and the fields to be updated with new values. This is useful for automating updates to records in Odoo, such as modifying customer data, inventory items, or any other custom models defined in Odoo. For example, a user can update the status or details of a custom resource record programmatically within an automation workflow.

Use Case Examples

  1. Updating a custom resource record in Odoo by specifying the resource type, record ID, and fields to update.
  2. Automating the modification of custom model data in Odoo based on external triggers or data changes.

Properties

Name Meaning
Custom Resource The specific custom resource model in Odoo to update.
Custom Resource ID The unique identifier of the custom resource record to update.
Update Fields The fields and their new values to update on the custom resource record.

Output

JSON

  • * - The updated custom resource record(s) returned from Odoo after the update operation.

Dependencies

  • Requires Odoo API credentials including URL, username, password, and database name.

Troubleshooting

  • Ensure that the Odoo API credentials are correct and have sufficient permissions to update the specified resource.
  • Verify that the custom resource ID exists and is valid in Odoo before attempting to update.
  • Check that the field names and values provided match the schema of the custom resource model in Odoo.
  • Common errors may include authentication failures, invalid resource IDs, or field validation errors from Odoo API responses.

Discussion