[FIX]graph view usability bug.
bzr revid: vme@tinyerp.com-20130125070240-0drtmiyetwu2btc6
This commit is contained in:
parent
1558bb732d
commit
9c6a184fb5
|
@ -5,6 +5,7 @@
|
|||
openerp.web_graph = function (instance) {
|
||||
|
||||
var _lt = instance.web._lt;
|
||||
var _t = instance.web._t;
|
||||
|
||||
// removed ``undefined`` values
|
||||
var filter_values = function (o) {
|
||||
|
@ -365,7 +366,7 @@ instance.web_graph.GraphView = instance.web.View.extend({
|
|||
}).then(function() {
|
||||
var res = {
|
||||
'data': result,
|
||||
'ticks': _.map(ticks, function(el, key) { return [el, key] })
|
||||
'ticks': _.map(ticks, function(el, key) { return [el, key || _t("Undefined")] })
|
||||
};
|
||||
return res;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue