I have a function where I want to return a wizard, I use this:
def display_error_message(self, cr, uid, error, context=None): return { 'name': _("Error"), 'context': {'error': error}, 'view_type': 'form', 'view_mode': 'form', 'res_model': 'close.wizard', 'views': [(False, 'form')], 'type': 'ir.actions.act_window', 'target': 'new', }
I see it in a lot of answers but, for me, doesn't work
Any idea?
Can you paste whole code here ??