I want to open pop up(wizard) by select specify item from selection
but the @onchange function can't return
The example:
@api.onchange('m')
def _onchange_m(self):
return {
'type': 'ir.actions.act_window',
'name': _('Reporting'),
'res_model': 'hr.m',
'view_type': 'form',
'view_mode': 'form',
'target': 'new',
}
Someone have an idea how to do it?