diff --git a/addons/web_graph/static/src/js/graph_widget.js b/addons/web_graph/static/src/js/graph_widget.js index cfcb8841ca9..b6ba3a4d705 100644 --- a/addons/web_graph/static/src/js/graph_widget.js +++ b/addons/web_graph/static/src/js/graph_widget.js @@ -73,6 +73,8 @@ openerp.web_graph.Graph = openerp.web.Widget.extend({ self.$('.graph_options_selection label').last().toggle(result); }); + this.$buttons.find('button').tooltip(); + return this.model.call('fields_get', []).then(function (f) { self.fields = f; self.fields.__count = {field:'__count', type: 'integer', string:_t('Count')}; diff --git a/addons/web_graph/static/src/xml/web_graph.xml b/addons/web_graph/static/src/xml/web_graph.xml index aac5f2433fd..70bcf328d68 100644 --- a/addons/web_graph/static/src/xml/web_graph.xml +++ b/addons/web_graph/static/src/xml/web_graph.xml @@ -2,15 +2,15 @@
- - - - + + + +
- - - + + +