Odoo Workflows

Install blipit_monitor 1.15.0 from the Odoo Apps store; 1.17.0 for the screens inside Odoo

Odoo Workflows shows every business step your users take in Odoo, such as Confirm quotation, Post invoice, Validate delivery, Register payment and Close POS session, and every scheduled job. For each one Blipit tells you how often it succeeds, who it stopped, which documents are waiting and why it fails, so you hear about a broken process before anyone calls you.

1Turn it on

Upgrade the Blipit module to 1.15.0 or later: Apps, Blipit Error Monitoring, Upgrade. There is nothing else to set up. Counting starts with the next button a user presses, and Workflows appears in the app.blipit.io sidebar for projects connected to Odoo. Until the first step arrives, the page says it is waiting for the first workflow from your database.

2What the Workflows page shows

Tiles at the top count the workflows failing, the people affected, the documents waiting and the companies affected. Below them, workflows are grouped by app (Sales, Accounting, Inventory, Point of Sale, Scheduled jobs and so on), each with its success rate and a Failing, Degraded or Healthy status. Filter by app, by company and by the last 24 hours, 7 days or 30 days. Open a workflow to see:

  • Attempts, failures, people affected and companies, with the success-rate trend over the window.
  • Why it fails: the issues behind the failures, each marked Crash or Blocked, linked to the issue page.
  • Documents waiting: every order, invoice or delivery a failed step touched, each linked straight back to the record in your Odoo.
  • The issue page shows the same link from the other side: the workflows an error broke and the records it touched. The Overview shows your three worst workflows.

3Which steps count

Blipit counts the buttons that move a document forward: Odoo's own, such as Confirm quotation, Create invoice, Post invoice, Register payment, Credit note, Validate delivery, Confirm purchase order and Close POS session, and the action_ and button_ methods of your custom modules, which appear under their app with a name made from the method (action_approve_order becomes Approve order). Every scheduled job run counts too, including Run manually, and so do server actions started from the Action menu. Opening views, printing and other reading calls are not counted, so the list stays short.

4Blocked, crashed and timed out

Each attempt ends one of four ways. Success: the step finished. Blocked: Odoo stopped the user with a message they can act on (a UserError, ValidationError or AccessError, such as a missing account or a missing route). Crashed: an unexpected error. Timeout: Odoo stopped a scheduled job for running too long. Blocked steps are counted in full for the success rate, and a sample is also kept as a warning event so you can read the cause; blocked steps never page anyone. Crashes and timeouts arrive as error events like any other.

5Counted every minute

Each Odoo worker adds up its attempts in memory and sends them to Blipit once a minute in one small request, and sends nothing while idle. Deciding whether a call is a workflow is a simple lookup with no database query, so pages are not slowed down. The counts are not billed as events; only errors and the blocked samples count toward your plan's events.

6The banner on the record

When a step fails on a record, people who open that order, invoice or delivery in Odoo see a red banner saying which step failed, when and why. It clears when the step next succeeds on that record. Only internal users see it. The banner needs Solo or a higher plan and is on by default; turn it off in Odoo under Settings, Blipit, Workflows. In the same place you can turn on a one-line chatter note on the record when a step fails. The note is off by default because it writes to your records.

7Alerts

The Alerts page has a Workflow alerts section with two rules, both on from the start. Failing for many people fires when one workflow crashes for several different people within a few minutes. Scheduled job failing fires when a scheduled job fails several runs in a row or times out. Set your own limits on the Alerts page, or switch a rule off. Workflow alerts go to the same people and channels as your other alerts (email rules, Slack, Microsoft Teams and webhooks, or the owners when there are none), respect snoozes and the hourly alert budget, send one notice per workflow, and send an all-clear once the problem is gone. Blocked steps never raise an alert.

8Plans

  • Every plan: failures by workflow, the people affected, the documents waiting with their Odoo links, the causes, and the Failing for many people alert.
  • Solo and up: success rates, attempts and the trend, the Scheduled job failing alert, and the banner on the record in Odoo.
  • History: 7 days on Free, 30 days on paid plans.
  • Attempts are counted on every plan, so success rates appear for your recent history as soon as you upgrade.
  • Solo and up also get Workflow health and Stuck documents inside Odoo.
  • Team and Scale: app owners, the daily and weekly summaries, the Documents stuck and Blocked spike alerts, and paging on-call on workflow alerts.
  • Scale: success targets with the Below success target alert, value on hold and custom workflows.

9Privacy

Successful steps are sent as counts only: the workflow, the company and how many. A failed step also sends the record ids of the documents it touched (up to 20), the Odoo user id and the company id, all as plain numbers. Workflow data never carries names or messages, and carries amounts only if you turn on Value on hold (Scale): then a failed step on a document with a total sends that total and its currency. The message Odoo showed a blocked user stays inside your own Odoo database, where the banner reads it. The blocked samples are error events, and their message has numbers and quoted values removed before it leaves Odoo.

10Workflow health inside Odoo

From module 1.17.0, Odoo has a Workflows menu in the Blipit app. Workflow health shows every workflow of the last 7 days as a card, grouped by app and coloured red (failing), amber (degraded) or green (healthy), with the success rate, failures, people affected, documents stuck here and how long the oldest has waited, the value on hold and the app owners. It refreshes from Blipit every 15 minutes, or now with Refresh from Blipit. Stuck documents on a card opens the orders, invoices or deliveries themselves; Why it fails opens the workflow in Blipit. Needs Solo or a higher plan.

11Stuck documents

A document is stuck when a step failed on it and nobody has finished that step since. Blipit, Workflows, Stuck documents in Odoo lists them with the step, the outcome, how long each has waited, who hit the failure and an Open button; a document leaves the list as soon as the same step succeeds on it. In app.blipit.io, Documents waiting on a workflow shows the same list oldest first. The Documents stuck alert (Team and Scale, off until you turn it on) fires when documents wait too long on one workflow; set how many documents and how long on the Alerts page.

12App owners and summaries

Give each app an owner, for example Finance for Accounting and Sales ops for Sales, either on the Workflows page in app.blipit.io (Set owner next to the app name) or in Odoo under Blipit, Configuration, Workflow Owners. Owners get the workflow alerts of their app by email, on top of your usual alert channels. Every morning at 06:00 UTC the workspace owners and each app owner get a daily summary of what failed in the last 24 hours, the documents still waiting, the value on hold and the top causes, and on Mondays a weekly summary. Summaries are only sent when something failed or is still waiting; turn them off on the Alerts page. An on-call escalation policy can also open an incident when a workflow alert fires. Each owner takes a seat of your plan. Team and Scale.

13Website checkout and queue jobs

Module 1.17.0 also counts the steps of your online shop (add to cart, checkout, payment) and portal quote acceptance, with the cart's sale order as the document, and every OCA queue_job run as a workflow of its model. The Workflows page shows the shop steps as a checkout funnel with the success rate of each step. A queue job that will be retried is not counted; only its final run is.

14Targets, value on hold and custom workflows

On the Scale plan:

  • Success target: set a target such as 95% on a workflow. The trend draws it as a dashed line and the Below success target alert fires when the rate drops under it.
  • Value on hold: turn it on in Odoo under Settings, Blipit, Workflows. A failed step on a document with a total (an order, invoice or bill) then sends that total and its currency, and Blipit shows how much money is waiting, per currency, never converted.
  • Custom workflows: track your own buttons and give them your team's names, from Custom workflows on the Workflows page or Settings, Blipit, Workflows, Extra workflow buttons in Odoo (model:method). Rename step on any workflow changes the name shown everywhere.
  • Release markers: the trend marks each release and deploy, and a workflow that started failing after a release says so.

Good to know

  • Works with Odoo on your own servers and on Odoo.sh. Odoo Online does not allow third-party modules.
  • When Odoo restarts a worker, for example after it reaches limit_request, up to a minute of that worker's counts can be lost. Success rates tolerate this.
  • When Odoo retries a step after a database conflict, only the final outcome counts.
  • Errors from older module versions still show their workflow on the issue page when the request names the button, but success rates and documents waiting need 1.15.0.
  • Record links open your Odoo at the address the module reported when it connected, as /odoo/<model>/<id>.
  • Failed-step records follow your plan's workflow history; a record whose step later succeeded is deleted after 7 days.
  • The Blocked spike alert (Team and Scale, off until you turn it on) fires when a workflow is suddenly blocked far more often than usual.
  • The checks the module adds for shop pages and custom buttons are a single lookup on each request, well under a microsecond.

Stuck? Email support@blipit.io. Keys and the project id for each project are under API keys in app.blipit.io.