diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2012-05-08 00:45:30 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2012-05-08 00:45:30 +0200 |
| commit | 9f273b0a36d14f008cc20304f2788d4f2c8e628d (patch) | |
| tree | 24a1bda8e03264f6cbcda14eef9a65824f387fb7 /addons/web_graph/controllers/graph.py | |
| parent | a1f82317125a0745af7b568aee024c876523c21a (diff) | |
[IMP] remove print statement
bzr revid: fp@openerp.com-20120507224530-3scu1akm6rpxwzzj
Diffstat (limited to 'addons/web_graph/controllers/graph.py')
| -rw-r--r-- | addons/web_graph/controllers/graph.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/addons/web_graph/controllers/graph.py b/addons/web_graph/controllers/graph.py index 8b2f1a288e6..da890071d52 100644 --- a/addons/web_graph/controllers/graph.py +++ b/addons/web_graph/controllers/graph.py @@ -40,7 +40,6 @@ class GraphView(View): assert len(xaxis), "No field for the X axis!" assert len(yaxis), "No field for the Y axis!" - print "X", xaxis, "Y", yaxis # Convert a field's data into a displayable string @@ -82,21 +81,12 @@ class GraphView(View): axis = obj.read_group(domain, yaxis+xaxis[0:1], xaxis[0:1], context=context) for x in axis: key = x[xaxis[0]] - print key - print x res = obj.read_group(domain+[(xaxis[0],'=',_convert_key(xaxis[0], key))], yaxis+xaxis[1:2], xaxis[1:2], context=context) - print '*', res - print '**', xaxis[1] result.append( { 'data': map(lambda record: _orientation(_convert(xaxis[1], record[xaxis[1]]), record[yaxis[0]]), res), 'label': _convert(xaxis[0], key, tick=False) }) - - print '---' - print '-', result - print '-', map(lambda x: (x[1], x[0]), ticks.items()) - return { 'data': result, 'ticks': map(lambda x: (x[1], x[0]), ticks.items()) |
