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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
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 |
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
2
7月 24
|
1758 | ||
|
0
1月 24
|
1785 | ||
|
1
1月 24
|
1788 | ||
|
0
3月 15
|
3654 | ||
|
7
8月 25
|
27826 |