Odoo icon

Odoo

Consume Odoo API

Actions20

Overview

This node interacts with the Odoo API to perform operations on the 'Note' resource, specifically the 'Get All' operation. It retrieves multiple note records from the Odoo system, with options to either return all available notes or limit the number of results. Users can also specify which fields to include in the response. This is useful for scenarios where you need to fetch and process multiple notes from Odoo, such as syncing notes with another system or generating reports.

Use Case Examples

  1. Fetch all notes from Odoo to display in a dashboard.
  2. Retrieve a limited number of notes with specific fields for data analysis.

Properties

Name Meaning
Return All Determines whether to return all note records or limit the number of results.
Limit Specifies the maximum number of note records to return when 'Return All' is false.
Options Additional options for the request, including which fields to include in the returned notes.

Output

JSON

  • id - Unique identifier of the note.
  • memo - Content or memo of the note.
  • otherFields - Additional fields of the note as specified in the 'Fields To Include' option.

Dependencies

  • Requires an API key credential for Odoo API authentication.

Troubleshooting

  • Common issues include authentication failures due to invalid credentials or incorrect API URL. Verify the Odoo API credentials and URL in the node settings.
  • Errors may occur if the specified fields in 'Fields To Include' do not exist in the Odoo note model. Ensure the fields are valid and available in the Odoo instance.
  • If the node returns no data, check if there are any notes available in the Odoo system and that the user has permission to access them.

Links

Discussion