mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] kpi_dashboard: set new widgets
This commit is contained in:
14
kpi_dashboard/static/src/js/widget/counter_widget.js
Normal file
14
kpi_dashboard/static/src/js/widget/counter_widget.js
Normal file
@@ -0,0 +1,14 @@
|
||||
odoo.define('kpi_dashboard.CounterWidget', function (require) {
|
||||
"use strict";
|
||||
|
||||
var IntegerWidget = require('kpi_dashboard.IntegerWidget');
|
||||
var registry = require('kpi_dashboard.widget_registry');
|
||||
var field_utils = require('web.field_utils');
|
||||
|
||||
var CounterWidget = IntegerWidget.extend({
|
||||
shortList: [],
|
||||
});
|
||||
|
||||
registry.add('counter', CounterWidget);
|
||||
return CounterWidget;
|
||||
});
|
||||
Reference in New Issue
Block a user