[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:
parent
b250c5f9f5
commit
00cb732ea0
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue