Skip to Content
OWL data_display

Column Progress

Odoo 19 OWL component — Column Progress (views)

Live preview Interactive
Source excerpt web/static/src/views/view_components/column_progress.js
import { Component } from "@odoo/owl";
import { AnimatedNumber } from "./animated_number";

export class ColumnProgress extends Component {
    static components = {
        AnimatedNumber,
    };
    static template = "web.ColumnProgress";
    static props = {
        aggregate: { type: Object },
        group: { type: Object },
        onBarClicked: { type: Function, optional: true },
        progressBar: { type: Object },
    };
    static defaultProps = {
        onBarClicked: () => {},
    };

    async onBarClick(bar) {
        await this.props.onBarClicked(bar);
    }
}
Registry / API
Registry name
ColumnProgress
Category
Module
web
Slug
column-progress
Nav group
data_display