Tameson Odoo icon

Tameson Odoo

Consume Odoo API

Actions20

Overview

The Tameson Odoo node for n8n allows you to interact with the Odoo API, specifically targeting various resources such as Notes.
For the Note → Update operation, this node updates an existing note in your Odoo system by its ID and sets a new memo (content) for that note.

Common scenarios:

  • Automating the process of updating notes in Odoo based on triggers or workflows from other systems.
  • Keeping Odoo notes synchronized with external data sources.
  • Bulk-updating memos for multiple notes as part of a business process.

Example use case:
When a support ticket is updated in another system, automatically update the corresponding note in Odoo with the latest information.


Properties

Name Type Meaning
Note ID String The unique identifier of the note to update. Required.
Memo String The new content/text to set for the note's memo field. Required.

Output

The output will be a JSON object representing the updated note as returned by the Odoo API.
The structure typically includes fields such as the note's ID, memo, and possibly other metadata depending on the Odoo configuration.

Example output:

{
  "id": 123,
  "memo": "Updated note content",
  // ...other fields as provided by Odoo
}

If an error occurs and "Continue On Fail" is enabled, the output will include:

{
  "error": "Error message"
}

Dependencies

  • Odoo API: Requires access to an Odoo instance with valid credentials (URL, username, password, database name).
  • n8n Credentials: You must configure Odoo API credentials in n8n under the name odooApi.

Troubleshooting

Common issues:

  • Invalid credentials: If the Odoo credentials are incorrect, authentication will fail.
  • Note not found: If the provided Note ID does not exist, the update will fail.
  • Insufficient permissions: The Odoo user may lack permission to update notes.

Error messages:

  • "Credentials are not valid": Check your Odoo URL, username, password, and database name.
  • "Settings are not valid: ...": There may be a misconfiguration in the credentials or connection settings.
  • "error": "Error message" in output: Review the error message for details; it may indicate missing fields, invalid IDs, or server errors.

Links and References

Discussion