mirror of https://github.com/OCA/web.git
travis
parent
3997b1fdab
commit
8d7f341e97
|
@ -7,7 +7,7 @@
|
||||||
"category": "Hidden",
|
"category": "Hidden",
|
||||||
"summary": "This widget allows to display charts using Bokeh library.",
|
"summary": "This widget allows to display charts using Bokeh library.",
|
||||||
"author": "Eficent, "
|
"author": "Eficent, "
|
||||||
"Odoo Community Association (OCA)",
|
"Odoo Community Association (OCA)",
|
||||||
"version": "9.0.1.0.0",
|
"version": "9.0.1.0.0",
|
||||||
"website": "https://github.com/OCA/web",
|
"website": "https://github.com/OCA/web",
|
||||||
"depends": ["web"],
|
"depends": ["web"],
|
||||||
|
|
|
@ -11,9 +11,9 @@ odoo.define('web_widget_bokeh_chart', function (require) {
|
||||||
var BokehChartWidget = form_common.AbstractField.extend({
|
var BokehChartWidget = form_common.AbstractField.extend({
|
||||||
render_value: function() {
|
render_value: function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
var val = this.get('value')
|
var val = this.get('value');
|
||||||
this.$el.html(val)
|
this.$el.html(val);
|
||||||
},
|
}
|
||||||
});
|
});
|
||||||
core.form_widget_registry.add('bokeh_chart', BokehChartWidget);
|
core.form_widget_registry.add('bokeh_chart', BokehChartWidget);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue