summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/pivot_table.js
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2014-01-28 14:26:25 +0100
committerGery Debongnie <ged@openerp.com>2014-01-28 14:26:25 +0100
commitad76309fbe29f6d4d2d26393bc8d2b1c595a124f (patch)
treee7eaea5f4212e8482845564b7249798de57423e9 /addons/web_graph/static/src/js/pivot_table.js
parent31374c2eeffe824188b1a43768bc216a86d29b03 (diff)
[IMP] makes the graph view in pivot table mode always display 'Total' instead of the current measure/title (addon web_graph)
bzr revid: ged@openerp.com-20140128132625-pk21iuhuffvx6814
Diffstat (limited to 'addons/web_graph/static/src/js/pivot_table.js')
-rw-r--r--addons/web_graph/static/src/js/pivot_table.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_graph/static/src/js/pivot_table.js b/addons/web_graph/static/src/js/pivot_table.js
index 89ca36f3b61..fccb1e4bffa 100644
--- a/addons/web_graph/static/src/js/pivot_table.js
+++ b/addons/web_graph/static/src/js/pivot_table.js
@@ -238,7 +238,7 @@ openerp.web_graph.PivotTable = openerp.web.Class.extend({
},
make_header: function (group, parent) {
- var title = parent ? group.attributes.value : '';
+ var title = parent ? group.attributes.value : _t('Total');
return {
id: _.uniqueId(),
path: parent ? parent.path.concat(title) : [],