This question has been flagged
The before solutions working until odoo 13 on this mode:

"type": "ir.actions.do_nothing"

But in after versions it don't work. How can i do?


Avatar
Discard
Best Answer

Hello Sergio Villanueva,

You can try with below code

return {
'view_mode': 'form',
'res_model': wiz.model,
'res_id': current_wiz_id.id,
'type': 'ir.actions.act_window',
    }

It will open that wizard this existing id.

Avatar
Discard
Best Answer
return {
'name': _('Price List'),
'view_mode': 'form',
'res_model': 'product.supplierinfo.wizard',
'type': 'ir.actions.act_window',
'res_id': self.id,
'target': 'new',
}


Avatar
Discard