workcenter_dashboard_graph
The load chart on a work center card. Three series over the same days: the capacity line, the load bars and, separately, the hours that exceed it.
| Technical name | workcenter_dashboard_graph |
|---|---|
| Field types | text |
| Views | kanban |
| Module | mrp, the Manufacturing app |
| Used in core | 1 occurrence, the work center kanban in mrp |
| Versions | Odoo 20.0, Odoo 19.0, Odoo 18.0 |
| No-code setup | No. It is set in view XML and depends on module-specific data |
| Alternatives | dashboard_graph, picking_type_dashboard_graph, gauge, mrp_timer |
What the work center load chart does
What this means for your team
Supported options in Odoo 19
| Option | Type | What it does |
|---|---|---|
graph_type | string (attribute) | Written on the field element rather than in options, naming the chart type, as on the base dashboard chart.(since Odoo 18.0) |
the payload's labels | key in the JSON value | Feeds the category axis, so the granularity of the chart is decided by the server-side computation.(since Odoo 18.0) |
Tooltips are enabled here. The base dashboard chart disables them; this one keeps them and formats each value with the word hours appended, including a special case for the total load series. That is the clearest sign the two charts are configured independently despite looking related.
Working examples
Why excess is its own series
Version compatibility
| Version | Status | Notes |
|---|---|---|
| Odoo 20.0 | In development | Not released. Byte-identical to Odoo 19 on the development branch. |
| Odoo 19.0 | Verified | Verified against the shipped source. Byte-identical to Odoo 18. |
| Odoo 18.0 | Verified | First version. |
| Odoo 17.0 | Not available | Widget does not exist. |
| Odoo 16.0 | Not available | Widget does not exist. |
Upgrade note. The widget arrived in Odoo 18 and the Odoo 18 and Odoo 19 files are identical, so nothing needs attention. What can change independently is the server-side payload, so a customization that produces its own load data should be re-checked after an upgrade.
What is changing in Odoo 20
Common problems and fixes
| Symptom | Cause and fix |
|---|---|
| No excess bars appear | No day exceeds capacity, or the payload has no excess series. Check the server-side computation; the widget draws what it is given. |
| The chart is empty | The field holds no payload. Check the computed field on the work center. |
| Tooltips show no units | The label callback appends the word hours, so a missing unit means a custom payload or a patched chart. Check for a customization of the chart options. |
| The axis granularity is wrong | It comes from the payload's labels. Change the server-side computation. |
| The chart type does not change | The knob is an attribute, not an option. Write graph_type on the field element. |
| Missing widget error | The manufacturing module is not installed in that database. Install Manufacturing, or use the base dashboard chart. |
Work center load chart vs the alternatives
| Widget | Best for | Key difference |
|---|---|---|
workcenter_dashboard_graph | Work center cards where overload must be visible at a glance | Three series with excess load separated out, and tooltips that name the unit |
dashboard_graph | A single series on a card | One dataset, no tooltips and a simpler payload |
| picking_type_dashboard_graph | Operation type dashboards | Its own bucket coloring and click targets |
gauge | One value against a target | A single figure rather than a series |
mrp_timer | Durations on the same screens | A live number rather than a chart |
Frequently asked questions
Why is excess load a separate series?+
How do I change the chart type?+
Why do these tooltips work when the base chart's do not?+
Where does the data come from?+
Which versions have it?+
Capacity decisions made before the order is late
Work center capacity, routing and the planning screens on top of them decide whether a delay is spotted a week early or a day late. We implement Odoo Manufacturing planning on versions 16 through 19.
Book a free consultation