You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
469 B
17 lines
469 B
odoo.define('web_widget_bokeh_chart', function (require) {
|
|
"use strict";
|
|
|
|
var fieldRegistry = require('web.field_registry');
|
|
var AbstractField = require('web.AbstractField');
|
|
|
|
var BokehChartWidget = AbstractField.extend({
|
|
start: function() {
|
|
var val = this.value;
|
|
this.$el.html(val);
|
|
}
|
|
});
|
|
fieldRegistry.add('bokeh_chart', BokehChartWidget);
|
|
return {
|
|
BokehChartWidget: BokehChartWidget
|
|
};
|
|
});
|