Odoo icon

Odoo

Consume Odoo API

Actions20

Overview

This node interacts with the Odoo API to perform operations on various resources, including a Custom Resource. Specifically, for the Custom Resource with the Delete operation, it deletes an item identified by a given Custom Resource ID. This is useful for automating the removal of records from Odoo, such as deleting obsolete or incorrect entries in a custom data model.

Use Case Examples

  1. Deleting a custom resource record by specifying its ID to keep the Odoo database clean and up-to-date.
  2. Automating the deletion of custom resource entries as part of a workflow to manage data lifecycle.

Properties

Name Meaning
Custom Resource The specific custom resource model in Odoo to operate on, selected from dynamically loaded options.
Custom Resource ID The unique identifier of the custom resource record to delete.

Output

JSON

  • id - The ID of the deleted custom resource record or confirmation of deletion.

Dependencies

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

Troubleshooting

  • Ensure the Odoo API credentials are correct and have sufficient permissions to delete records.
  • Verify that the Custom Resource ID provided exists and is valid in the Odoo system.
  • Common errors include authentication failures, invalid resource IDs, or insufficient permissions, which can be resolved by checking credentials and resource availability.

Links

Discussion