From ecfd38fc95fad3c8c03d44ef6bf7a6d81d35c268 Mon Sep 17 00:00:00 2001 From: Leonardo Donelli Date: Tue, 17 Feb 2015 16:34:09 +0100 Subject: [PATCH] Remove commented lines, put license in manifest file. --- web_graph_improved/__openerp__.py | 1 + web_graph_improved/static/src/js/web_graph_improved.js | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/web_graph_improved/__openerp__.py b/web_graph_improved/__openerp__.py index 71468c8d..6d0c1548 100644 --- a/web_graph_improved/__openerp__.py +++ b/web_graph_improved/__openerp__.py @@ -25,6 +25,7 @@ 'category': 'Web', 'summary': 'Improves graph views.', 'author': 'Leonardo Donelli', + 'license': 'AGPL-3', 'website': 'http://learts.glaucus.in', 'depends': ['web_graph'], 'data': ['view/graph_improved_view.xml'], diff --git a/web_graph_improved/static/src/js/web_graph_improved.js b/web_graph_improved/static/src/js/web_graph_improved.js index 608c9fbb..56cfc575 100644 --- a/web_graph_improved/static/src/js/web_graph_improved.js +++ b/web_graph_improved/static/src/js/web_graph_improved.js @@ -64,16 +64,9 @@ openerp.web_graph_improved = function(instance) { nv.addGraph(function () { var chart = nv.models.multiBarChart() - // .reduceXTicks(false) .stacked(self.bar_ui === 'stack') .showControls(show_controls); - // if (self.width / data[0].values.length < 80) { - // chart.rotateLabels(-15); - // chart.reduceXTicks(true); - // chart.margin({bottom:40}); - // } - d3.select(self.svg) .datum(data) .attr('width', self.width)