Browse Source

travis

pull/834/head
lreficent 7 years ago
parent
commit
8d7f341e97
  1. 2
      web_widget_bokeh_chart/__openerp__.py
  2. 6
      web_widget_bokeh_chart/static/src/js/web_widget_bokeh_chart.js

2
web_widget_bokeh_chart/__openerp__.py

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

6
web_widget_bokeh_chart/static/src/js/web_widget_bokeh_chart.js

@ -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')
this.$el.html(val)
},
var val = this.get('value');
this.$el.html(val);
}
}); });
core.form_widget_registry.add('bokeh_chart', BokehChartWidget); core.form_widget_registry.add('bokeh_chart', BokehChartWidget);
}); });
Loading…
Cancel
Save