npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

node-red-contrib-odoo-xmlrpc-with-filters

v0.0.5

Published

Odoo XMLRPC API client nodes for Node Red

Readme

node-red-contrib-odoo-xmlrpc

A set of nodes for making calls to the Odoo XML-RPC API.

Installation

Assuming that you have Node-RED already installed.

You can install this module directly from the palette of Node-RED or using the other official methods, by searching for "node-red-contrib-odoo-xmlrpc-with-filters".

macOS and Linux

From your terminal:

# Go to the folder where your Node-RED plugins would be installed.
cd ~/.node-red

# Install the plugin using the following command
npm install node-red-contrib-odoo-xmlrpc-with-filters

Windows

From cmd:

# Go to the folder where your Node-RED plugins would be installed. Create it if it doesn't exist
cd %userprofile%
mkdir .node-red
cd .node-red

# Install the plugin using the following command
npm install node-red-contrib-odoo-xmlrpc-with-filters

What if a message "No git binary found in $PATH" appears?

Well, you'd need to download and install git. You might then need to close & re-open your terminal. 😕

What if I already installed the original node-red-contrib-odoo-xmlrpc module?

  1. Export your existing flows (just in case) and close the Node-RED server/application
  2. Delete the "node-red-contrib-odoo-xmlrpc" folder from ~/.node-red/node_modules/
  3. Install the "node-red-contrib-odoo-xmlrpc-with-filters" module from the palette
  4. Restart the Node-RED application
  5. Load/create your flows, if necessary

That should be it.

Usage

Documentation of each node is found in the "info" tab in the Node-RED Flow editor.

See Odoo Web Service API for more information.

Example

Still, if you are new to Node-RED or Odoo, here is a simple example showing you how to read quotes/draft invoices and logging them to the debug tab of Node-RED:

Example flow

First node: The first node is an "inject" node, that will be used to trigger/start the Flow

Second node: The second node is a "function" node, that we will used to specify conditions in our Odoo query (by adding attributes to the msg object). In this example, we wrote a function (see screenshot below) to filter Odoo records and keep only invoice drafts (first line of the function; format is described in the Odoo documentation). We also specified that we want to skip the first result from the answer (second line of the function), and that we want to keep only 2 records afterwards. At the end, don't forget to return msg to pass along your query settings to the next node. Note that this node is not necessary, but rather useful if you want to perform precise searches on Odoo's data. Each of msg.filters, msg.offset and msg.limit are optional parameters.

Second node

Third node: The third node is a "odoo-xmlrpc-search-read" node, that actually sends the query to Odoo and waits for a response. You have specify the Odoo connection settings (the "pencil" button) and the data model from which you want to read (in this example: sale.order)

Third node

Connection settings:

Connection settings

Fourth node: The fourth node is a simple "debug" node, that will by default write the contents of msg.payload (which, in this case and at this stage, will be the response from the previous "odoo-xmlrpc-search-read" node)

Note

This is currently still a work in progress. As you may see not all the API functionality has been covered yet.

Patches welcome.

Orignally written by Ross Golder. Improved by Ahmad Benmrad.