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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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 |
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
lip 24
|
1647 | ||
|
0
sty 24
|
1642 | ||
|
1
sty 24
|
1671 | ||
|
0
mar 15
|
3588 | ||
How to restrict dragging of kanban stages?
Rozwiązane
|
|
7
sie 25
|
27592 |