I want to know how I can return a wizard from a workflow activity, I want to launch a wizard when running 'action_cancel()' action from the mrp.production workflow this way:
def action_cancel(self, cr, uid, ids, context=None):
'''action_cancel() code here'''
return {
'name': 'Cancel',
'view_type': 'form',
'view_mode': 'form',
'res_model': 'mrp.production.cancel',
'type': 'ir.actions.act_window',
'target': 'new',
}
but I get this error: TypeError: this.views_src [0] is undefined http://localhost:8069/web/static/src/js/views.js:639
any idea,
regards