pull/834/head
lreficent 2017-09-06 15:00:55 +02:00
parent 3997b1fdab
commit 8d7f341e97
2 changed files with 4 additions and 4 deletions

View File

@ -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"],

View File

@ -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);
}); });