diff options
| author | Raphael Collet <rco@openerp.com> | 2012-04-18 12:08:11 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-04-18 12:08:11 +0200 |
| commit | 4a4ebf4941c500b57bd8a7ee22943dc70a764c96 (patch) | |
| tree | 663367cbe2443ab3f62f0bb043272e5f6dd30e47 /addons/web_graph/static/src | |
| parent | 876f09224454f1dc5a56ff1ace8fac5d79fe5089 (diff) | |
| parent | e4063efdf27324d91ad2d1a33f042e0c2b192af8 (diff) | |
[MERGE] from trunk
bzr revid: rco@openerp.com-20120418100811-m58udbq5a3ulif5i
Diffstat (limited to 'addons/web_graph/static/src')
| -rw-r--r-- | addons/web_graph/static/src/js/graph.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index a55d8f15fbf..7016b9d8d85 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -2,7 +2,7 @@ * OpenERP web_graph *---------------------------------------------------------*/ -openerp.web_graph = function (openerp) { +openerp.web_graph = function (instance) { var COLOR_PALETTE = [ '#cc99ff', '#ccccff', '#48D1CC', '#CFD784', '#8B7B8B', '#75507b', '#b0008c', '#ff0000', '#ff8e00', '#9000ff', '#0078ff', '#00ff00', @@ -12,10 +12,10 @@ var COLOR_PALETTE = [ '#ad7fa8', '#729fcf', '#8ae234', '#e9b96e', '#fce94f', '#f57900', '#cc0000', '#d400a8']; -var QWeb = openerp.web.qweb, - _lt = openerp.web._lt; -openerp.web.views.add('graph', 'openerp.web_graph.GraphView'); -openerp.web_graph.GraphView = openerp.web.View.extend({ +var QWeb = instance.web.qweb, + _lt = instance.web._lt; +instance.web.views.add('graph', 'instance.web_graph.GraphView'); +instance.web_graph.GraphView = instance.web.View.extend({ display_name: _lt('Graph'), view_type: "graph", |
