diff options
| author | ima-openerp <ima@tinyerp.com> | 2013-10-21 18:12:22 +0530 |
|---|---|---|
| committer | ima-openerp <ima@tinyerp.com> | 2013-10-21 18:12:22 +0530 |
| commit | 7678ea996fbf0fcd146bd7ffbf75ab450db7dd4e (patch) | |
| tree | a854e1029302edfe582f594bc2f684aaeec9e45d /addons/web_diagram/controllers/main.py | |
| parent | 8acd61c43e7d47f3c83d19aa3c3f1d4fd4547c10 (diff) | |
| parent | ebeeae0ed4c57e36db143c11de11174ca1330892 (diff) | |
[MERGE]with trunk.
bzr revid: ima@tinyerp.com-20131021124222-7j3xc1ahtek5gyuw
Diffstat (limited to 'addons/web_diagram/controllers/main.py')
| -rw-r--r-- | addons/web_diagram/controllers/main.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/web_diagram/controllers/main.py b/addons/web_diagram/controllers/main.py index c598a7e4652..5dd625b80c0 100644 --- a/addons/web_diagram/controllers/main.py +++ b/addons/web_diagram/controllers/main.py @@ -1,9 +1,8 @@ import openerp -class DiagramView(openerp.addons.web.controllers.main.View): - _cp_path = "/web_diagram/diagram" +class DiagramView(openerp.addons.web.http.Controller): - @openerp.addons.web.http.jsonrequest + @openerp.addons.web.http.route('/web_diagram/diagram/get_diagram_info', type='json', auth='user') def get_diagram_info(self, req, id, model, node, connector, src_node, des_node, label, **kw): |
