[FIX] only hide the export button (and not all the config buttons) in graph view when the module xlwt is not installed (addon web)

bzr revid: ged@openerp.com-20140422145918-s20n3qla1nfte5dj
This commit is contained in:
Gery Debongnie 2014-04-22 16:59:18 +02:00
parent b250c5f9f5
commit 00cb732ea0
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ openerp.web_graph.Graph = openerp.web.Widget.extend({
}
openerp.session.rpc('/web_graph/check_xlwt').then(function (result) {
self.$('.graph_options_selection label').toggle(result);
self.$('.graph_options_selection label').last().toggle(result);
});
return this.model.call('fields_get', []).then(function (f) {