Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2710 Lượt xem

I want a message box that like

raise osv.except_osv(_('Error!'),_('MESSAGE'))

but I want to make a confirmation form to let user continue or stop the process when the process face some situation

is that possible?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Willie,


You can create a wizard form based on osv.osv_memory class and its associated view, to see this you can check the view 'view_purchase_requisition_partner' and the class 'purchase.requisition.partner' in the purchase_requisition module. This view appears when a user clicks the 'Create Purchase Order' from a purchase requisition screen

Ảnh đại diện
Huỷ bỏ