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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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 |
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 7 24
|
1726 | ||
|
0
thg 1 24
|
1754 | ||
|
1
thg 1 24
|
1771 | ||
|
0
thg 3 15
|
3650 | ||
|
7
thg 8 25
|
27777 |