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
- Comptabilité
- Inventaire
- PoS
- Projet
- MRP
Cette question a été signalée
2
Réponses
8137
Vues
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',
}
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
0
déc. 23
|
2718 | ||
|
Triggering wizard action
Résolu
|
|
1
oct. 22
|
6317 | |
|
|
2
août 22
|
5007 | ||
|
|
1
avr. 22
|
3944 | ||
|
|
2
mars 22
|
5204 |