diff options
| author | Ajay Chauhan (OpenERP) <cha@tinyerp.com> | 2012-10-23 10:49:57 +0530 |
|---|---|---|
| committer | Ajay Chauhan (OpenERP) <cha@tinyerp.com> | 2012-10-23 10:49:57 +0530 |
| commit | 74ee6c9c8f2fe3d87c8e5cfce81a30e2152a8ad8 (patch) | |
| tree | 7d116c42424dd56469997d981e7ebbf074d6743d /addons/process/static/src/js/process.js | |
| parent | 3d9e153cd088943b3595c21a405e2232ffd79711 (diff) | |
| parent | c55438e695d03854ebf1b82aa0d6b33b3dc278f0 (diff) | |
[MERGE] merge with lp:openobject-addons
bzr revid: cha@tinyerp.com-20121023051957-v8mdl714cnne8y2y
Diffstat (limited to 'addons/process/static/src/js/process.js')
| -rw-r--r-- | addons/process/static/src/js/process.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/process/static/src/js/process.js b/addons/process/static/src/js/process.js index c214dbb0fdf..2405f6d2aa5 100644 --- a/addons/process/static/src/js/process.js +++ b/addons/process/static/src/js/process.js @@ -176,6 +176,11 @@ instance.web.ViewManager.include({ var notes = new_notes.substring(0,60) +'..'; } r.text(nodes.x+60, nodes.y+30, (notes || new_notes)).attr({"title":nodes.notes,"cursor": "default"}); + r['image']('/web/static/src/img/icons/gtk-info.png', nodes.x, nodes.y+75, 16, 16) + .attr({"cursor": "pointer", "title": "Help"}) + .click(function() { + window.open(nodes.url || "http://doc.openerp.com/v6.1/index.php?model=" + nodes.model); + }); if(nodes.menu) { r['image']('/web/static/src/img/icons/gtk-jump-to.png', nodes.x+100, nodes.y+75, 16, 16) .attr({"cursor": "pointer", "title": nodes.menu.name}) |
