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
|
1704 | ||
|
0
1月 24
|
1726 | ||
|
1
1月 24
|
1754 | ||
|
0
3月 15
|
3623 | ||
|
7
8月 25
|
27728 |