Figo Arbiansyah

Home / Work / Dynamic Dashboard

Dynamic Dashboard

A configurable analytics dashboard for Odoo 18, so people can arrange their own cards and charts instead of asking for a new report.

Overview

For
Open-source add-on
Platform
Odoo 18
Year
2025
Stack
Python, OWL.js, Chart.js, SortableJS, PostgreSQL, JSON-RPC

What it does

  • Lets users add dynamic cards and chart widgets to a dashboard and configure them without code.
  • Supports drag-and-drop reordering, using SortableJS, so the layout belongs to the person using it.
  • Applies access control through Odoo's ACL, so a dashboard only shows what its viewer is allowed to see.
  • Talks to Odoo through its JSON-RPC API, with the front end written in OWL, Odoo's web library, and charts drawn by Chart.js.

Interactive preview

Interactive sandbox

Drag or reorder cards, switch period & test Odoo ACL

Period
Odoo ACL Role
account.move
Invoiced Revenue
Rp 1.42B
+12.4% vs last mo
sale.order
Confirmed Orders
318
94% on-time delivery
account.analytic.line
Net Margin & Tax Reserve
28.6%
e-Faktur reconciled

Architecture

Dynamic Dashboard ArchitectureJSON-RPCORMOWL 2 / Chart.jsOdoo 18 BackendPostgreSQL
OWL 2 / Chart.js. Client-side widget rendering, SortableJS ordering, and lifecycle cleanup.

A note on the work

A configurable dashboard comes down to who owns what: the component that draws a chart has to create it, update it and clean it up. The article Rendering Chart.js inside an OWL component walks through that part in a small example.