📊 RT Dashboard

Real-time dashboards with AI and multi-channel alerts for Odoo 18. Department KPIs, push updates without page reload, AI-detected anomalies, and WhatsApp & Telegram notifications.

Odoo 16 · 17 · 18 · 19 · OPL-1
Uniasser Consulting S.L. · info@uniasser.com

Key Features

⚡

Real-time

Automatic updates via bus.bus — no F5 needed. Any data change is reflected instantly.

🏢

Multi-department

Predefined KPIs for CEO, Sales, Marketing, CFO, CTO, Operations and HR.

🤖

Built-in AI

Anomaly detection, daily executive briefing and natural language KPI generator (Anthropic Claude).

🔔

Multi-channel alerts

Dashboard notifications, WhatsApp Business API and Telegram Bot when a KPI crosses a threshold.

📐

Formula KPIs

Combine KPIs with expressions: {balance_57} / {burn_rate} to calculate runway, ratios and margins.

🎨

Icons & Colors

Visual emoji and Font Awesome selector. Accent color and icon size per KPI.

Dashboard View

Access from the main menu RT Dashboard. The system automatically creates one dashboard per department. KPI cards show the current value, variation vs the previous period, and a historical mini-chart.

📊 RT Dashboard ⚡ LIVE CEO CFO Sales Marketing CTO Ops HR 💶 Treasury € 284,500 ▲ +12.3% vs previous month 🔥 Burn Rate € 42,300 ▲ +8.1% monthly ⏱️ Runway (formula) 6.7 months — no change balance / burn rate 📦 Pending orders 23 ▼ -5 ⚠ Critical threshold: < 30 Sales by rep Anna Louis Martha Peter Sara Charles Monthly invoicing (€)

Main dashboard view — KPI cards with status indicator, bar chart by grouping and historical area chart. Automatic updates without page reload.

💡 LIVE indicator: The ⚡ LIVE badge in the header confirms that the bus.bus connection is active. Data updates every time the cron evaluates a KPI (default every 60 seconds).

KPI Management

Menu → RT Dashboard → KPI Definitions

KPI Definitions › Monthly Burn Rate Compute Now Save IDENTITY Label Monthly Burn Rate Technical name burn_rate Type Standard ▾ Icon 🔥 Select... Icon size Medium (32px) ▾ Accent color Department CFO ▾ DATA SOURCE Model account.move.line Aggregation avg_monthly ▾ Measure field debit Chart type Line ▾ Domain [["account_id.code","=like","6%"],["parent_state","=","posted"]] THRESHOLDS Direction Above ▾ Warning 40,000 Critical 55,000 RUNTIME Current value 42,300.00 Last computed 05/21/2026 09:14:32

KPI definition form — identity fields, data source, thresholds and cached values.

KPI Types

TypeWhen to useRequired fields
StandardAggregate a numeric field from any Odoo modelModel, Aggregation, Measure Field
FormulaCombine two or more existing KPIs with arithmeticFormula expression ({kpi_name})

Aggregation functions

FunctionDescription
countCount records (no Measure Field needed)
sumSum of the specified field
avgArithmetic mean
max / minMaximum / Minimum
avg_monthlyMonthly average: SUM / distinct months. Ideal for burn rate.

Date tokens in domain

You can use dynamic tokens in the Domain field for filters relative to today:

TokenReplaced by
{today}Today's date (YYYY-MM-DD)
{month_start}First day of current month
{year_start}First day of current year
{last_30d}30 days ago
{last_90d}90 days ago
{last_365d}365 days ago

Example — invoices from current month:

[["invoice_date",">=","{month_start}"],["invoice_date","<=","{today}"],["state","=","posted"]]

Formula KPIs

Formula KPIs combine the result of other KPIs using arithmetic expressions. They allow calculating ratios, financial runway, margins, etc.

KPI Definitions › Runway (months) KPI TYPE Type Formula ▾ FORMULA EXPRESSION Expression {balance_57} / {burn_rate} Current result: 6.73 Names in curly braces {name} refer to the "Technical name" field of another active KPI. Allowed operators: + − × ÷ and parentheses. Example: ({sales} - {costs}) / {sales} * 100 → margin %

Formula KPI — the expression references the technical name of other KPIs in curly braces. The result is evaluated in real time.

💡 Technical names: The Technical name field of the referenced KPI must match exactly the token in the formula. Use simple names without spaces: balance_57, burn_rate, monthly_sales.

Icon Selector & Visual Customization

Each KPI can have an emoji or Font Awesome icon, an accent color and an icon size independent of the numeric value size.

Icon Selector SELECTED ICON 💶 Select... Size Small Medium Large 💰 Finance 💶 💰 💳 🏦 📈 📉 🔥 ⏱️ 📊 🎯 🏎️ Sales & Competition 🏎️ 🏆 🥇 🚀 ⚡ 💡 🎰 🎲 🎯 👥 Team & HR 👥 👤 🤝 📋 📌 📬 🗓️ ⏰

Visual icon selector with emojis grouped by category. Click on the icon field to open the panel.

Icon sizes

SizePixelsWhen to use
Small~20pxVery compact dashboards or cards with lots of text
Medium~32pxDefault size, balanced for most use cases
Large~52pxExecutive dashboards or large screens

Alert Rules

Menu → RT Dashboard → Alert Rules

Each rule monitors a KPI and triggers notifications when it exceeds (or falls below) a threshold. Configurable cooldown to avoid notification spam.

Alert Rules › Critical Burn Rate TRIGGER KPI Monthly Burn Rate Level 🔴 Critical Cooldown (min) 60 NOTIFICATION CHANNELS ✓ Dashboard (in-app banner) ✓ WhatsApp Business API +34 600 123 456 Telegram Bot MESSAGE 🚨 Burn Rate exceeds €55,000 — current value: {value} — review expenses

Alert rule configuration — KPI + level (warning/critical) + channels + message with {value} token.

ChannelRequirement
Dashboard (in-app)None. Automatic banner on all open dashboards.
WhatsAppWhatsApp Business API token + destination phone number.
TelegramTelegram bot token + chat_id of the recipient.

Artificial Intelligence (Anthropic Claude)

📋 Daily Executive Briefing

The daily cron generates a natural language summary with the most relevant KPIs for each department, highlighting anomalies and trends. Stored in RT Dashboard → AI Briefings and sent via configured channels.

Requires an Anthropic Claude API key (starts with sk-ant-). Get one at console.anthropic.com and configure it in Settings → Technical → System Parameters:
KeyValue
rt_dashboard.llm_api_keyYour sk-ant-... key
rt_dashboard.llm_modelclaude-sonnet-4-20250514 (optional)
Enable developer mode with ?debug=1 if the Technical menu is not visible.

🤖 AI KPI Generator

Menu → Create KPI with AI. Describe in plain text the KPI you need, for example:

"last month's sales in euros,
grouped by salesperson,
confirmed invoices only"

Claude automatically configures the model, aggregation function, field and domain — ready to review and save. Requires the same Anthropic API key.

🔍 Anomaly Detection

The anomaly engine analyzes the historical series of each KPI and notifies when a value deviates significantly from the historical average. Sensitivity is configurable per KPI.

Installation & Update

Initial Installation

1
Copy the odoo_rt_dashboard folder into your custom addons directory.
2
Restart the Odoo server and go to Settings → Technical → Update Module List.
3
Install RT Dashboard from the apps list.
4
The module automatically creates predefined KPIs for 7 departments and one dashboard per department assigned to the administrator.

Update

./odoo-bin -u odoo_rt_dashboard -d <database> --stop-after-init
⚠ After updating with JavaScript changes: go to Settings → Technical → Go to URL and add ?debug=assets to the dashboard URL, or clear the browser cache with Ctrl+Shift+R.

Compatibility

Odoo VersionCommunity (CE)Enterprise
Odoo 16✅✅
Odoo 17✅✅
Odoo 18✅✅
Odoo 19✅✅
Python dependencies: anthropic (install with pip install anthropic in the Odoo virtual environment). Required Odoo dependencies: base, web, bus, mail.

Frequently Asked Questions

Why does a KPI show 0?

How do I move a KPI to another department?

Edit the KPI and change the Department field. The module automatically removes it from the previous dashboard and adds it to the new one.

How do I create custom dashboards per user?

Go to Settings → Technical → RT Dashboard and create a record with the user and desired KPIs. The dashboard will appear as an additional tab for that user.

The LIVE indicator disappears?

The bus.bus connection is lost if the Odoo server restarts. Reload the page to reconnect.

What API key do I need for AI?

The module uses Anthropic Claude. Get your key at console.anthropic.com. The key starts with sk-ant-. Do not use OpenAI keys (they start with sk-).

How do I configure WhatsApp alerts?

You need a WhatsApp Business API account (Meta). Enter the token in the alert rule along with the destination phone number in international format (+34600123456).

How do I configure Telegram alerts?

Create a bot with @BotFather on Telegram and get the token. The chat_id is the numeric ID of the chat or group to which the message should be sent.

Support & Contact

FieldValue
VendorUniasser Consulting S.L.
Support emailinfo@uniasser.com
Websitewww.uniasser.com
LicenseOPL-1 (Odoo Proprietary License)
CompatibilityOdoo 16, 17, 18, 19 — Community & Enterprise