summaryrefslogtreecommitdiff
path: root/addons/web/controllers/main.py
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2016-11-22 15:05:22 +0100
committerYannick Tivisse <yti@odoo.com>2016-11-23 11:52:39 +0100
commit98cb4719dbe90dbe980be4ad98f22fe155c2dae1 (patch)
treef6c9a9294908207116782c6f8513f91d7aed6403 /addons/web/controllers/main.py
parent94d2b97da4af28c551d246f14347f7674c4d50f5 (diff)
[REM] workflow: Remove workflow engine, documentation and tests
Diffstat (limited to 'addons/web/controllers/main.py')
-rw-r--r--addons/web/controllers/main.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py
index d8c9c0d237e..0ec27efc27b 100644
--- a/addons/web/controllers/main.py
+++ b/addons/web/controllers/main.py
@@ -868,11 +868,6 @@ class DataSet(http.Controller):
return clean_action(action)
return False
- @http.route('/web/dataset/exec_workflow', type='json', auth="user")
- def exec_workflow(self, model, id, signal):
- request.session.check_security()
- return request.env[model].browse(id).signal_workflow(signal)[id]
-
@http.route('/web/dataset/resequence', type='json', auth="user")
def resequence(self, model, ids, field='sequence', offset=0):
""" Re-sequences a number of records in the model, by their ids