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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilitate
- Inventar
- PoS
- Proiect
- MRP
Această întrebare a fost marcată
2
Răspunsuri
8130
Vizualizări
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.
return {
'name': _('Price List'),
'view_mode': 'form',
'res_model': 'product.supplierinfo.wizard',
'type': 'ir.actions.act_window',
'res_id': self.id,
'target': 'new',
}
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-te| Related Posts | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
0
dec. 23
|
2717 | ||
|
Triggering wizard action
Rezolvat
|
|
1
oct. 22
|
6316 | |
|
|
2
aug. 22
|
5004 | ||
|
|
1
apr. 22
|
3944 | ||
|
|
2
mar. 22
|
5202 |