[IMP] Added the Print workflow option for the debug view

bzr revid: jam@tinyerp.com-20120911044231-15aoi4ow7dtc1gfx
This commit is contained in:
Jigar Amin - OpenERP 2012-09-11 10:12:31 +05:30
parent 8126882b0e
commit 6c542b0330
2 changed files with 3 additions and 0 deletions

View File

@ -836,6 +836,8 @@ instance.web.ViewManagerAction = instance.web.ViewManager.extend({
}
});
break;
case 'print_workflow':
break;
default:
if (val) {
console.log("No debug handler for ", val);

View File

@ -487,6 +487,7 @@
<option t-if="view_manager.searchview" value="edit" data-model="ir.ui.view" t-att-data-id="view_manager.searchview.view_id">Edit SearchView</option>
<option t-if="view_manager.action" value="edit" t-att-data-model="view_manager.action.type" t-att-data-id="view_manager.action.id">Edit Action</option>
<option value="edit_workflow">Edit Workflow</option>
<option value="print_workflow">Print Workflow</option>
</t>
</t>
<t t-name="ViewManagerDebugViewLog">