summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets/debug_manager.js
diff options
context:
space:
mode:
authorMehul Patel <mep@odoo.com>2017-06-06 18:27:20 +0530
committerYannick Tivisse <yti@odoo.com>2017-07-11 16:27:15 +0200
commit50b3b3c8d178694ba851162963033b6697898965 (patch)
treed19721bc4fa6ecd68aeac36e07194c6210213eb8 /addons/web/static/src/js/widgets/debug_manager.js
parentba7698519678725af9d2b19f9506cac15c6ec161 (diff)
[FIX] web,odoo: Remove remaining workflow related code
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
-rw-r--r--addons/web/static/src/js/widgets/debug_manager.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/addons/web/static/src/js/widgets/debug_manager.js b/addons/web/static/src/js/widgets/debug_manager.js
index badff89c846..912a30edb2c 100644
--- a/addons/web/static/src/js/widgets/debug_manager.js
+++ b/addons/web/static/src/js/widgets/debug_manager.js
@@ -356,24 +356,6 @@ DebugManager.include({
this._active_view.controller.renderer.arch, true)
).appendTo(dialog.$el);
},
- print_workflow: function() {
- var ids = this._active_view.controller.getSelectedIds();
- framework.blockUI();
- var action = {
- context: { active_ids: ids },
- report_name: "workflow.instance.graph",
- datas: {
- model: this._view_manager.dataset.model,
- id: ids[0],
- nested: true,
- }
- };
- session.get_file({
- url: '/web/report',
- data: {action: JSON.stringify(action)},
- complete: framework.unblockUI
- });
- },
});
function make_context(width, height, fn) {
var canvas = document.createElement('canvas');