def show_confirmation_message(self):
return {
'name': 'Wizard de ejemplo',
'type': 'ir.actions.act_window',
'res_model': 'my_module.crm.wizard_confirm',
'view_mode': 'form',
'target': 'new',
}
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
i tried this but the form view won't showed up, is there another way to make a confirmation wizard or popup when stage is changed?
Hi,
Write an onchange function. If the stage changes, this wizard will appear on your screen.
@api.onchange('stage_field') return { 'res_id': self.stage_change_wizard.id, } Hope it helps |
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
2
jul. 24
|
1711 | ||
|
0
jan. 24
|
1731 | ||
|
1
jan. 24
|
1764 | ||
|
0
mar. 15
|
3634 | ||
|
7
ago. 25
|
27741 |