summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph_widget.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2014-10-23 17:14:35 +0200
committerChristophe Simonis <chs@odoo.com>2014-10-23 17:14:35 +0200
commit4b6c948be5a96207fb7ce1247ce7063c6f85120d (patch)
treed9c64ce95d10d941f86ca08afb9d0b9cb7b456a4 /addons/web_graph/static/src/js/graph_widget.js
parent06d79d2fe59bc9d7bdcc3f2c17234599480b2aec (diff)
parented925892b936c926be5bad2b61a8219d1962e6f2 (diff)
[MERGE] forward port of branch 8.0 up to ed92589
Diffstat (limited to 'addons/web_graph/static/src/js/graph_widget.js')
-rw-r--r--addons/web_graph/static/src/js/graph_widget.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_graph/static/src/js/graph_widget.js b/addons/web_graph/static/src/js/graph_widget.js
index 23d97dac59a..cfcb8841ca9 100644
--- a/addons/web_graph/static/src/js/graph_widget.js
+++ b/addons/web_graph/static/src/js/graph_widget.js
@@ -75,13 +75,13 @@ openerp.web_graph.Graph = openerp.web.Widget.extend({
return this.model.call('fields_get', []).then(function (f) {
self.fields = f;
- self.fields.__count = {field:'__count', type: 'integer', string:_t('Quantity')};
+ self.fields.__count = {field:'__count', type: 'integer', string:_t('Count')};
self.groupby_fields = self.get_groupby_fields();
self.measure_list = self.get_measures();
self.add_measures_to_options();
self.pivot_options.row_groupby = self.create_field_values(self.pivot_options.row_groupby || []);
self.pivot_options.col_groupby = self.create_field_values(self.pivot_options.col_groupby || []);
- self.pivot_options.measures = self.create_field_values(self.pivot_options.measures || [{field:'__count', type: 'integer', string:'Quantity'}]);
+ self.pivot_options.measures = self.create_field_values(self.pivot_options.measures || [{field:'__count', type: 'integer', string:'Count'}]);
self.pivot = new openerp.web_graph.PivotTable(self.model, self.domain, self.fields, self.pivot_options);
self.pivot.update_data().then(function () {
self.display_data();