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

Hi i want to display a warning message before certain tasks are carried about, e.g When i user click a button on a form, system should ask and verify about two options which one to execute, i also want to display a message when an action is completed, or failed. How can id do this on form and in wizards?

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

You can add confirm attribute to you action (a button) for example :

              <button name="cancel_voucher" string="Cancel Voucher" type="object" states="posted" confirm="Are you sure you want to unreconcile this record?"/>
Ảnh đại diện
Huỷ bỏ
Tác giả

yeah, thank you, its working now

Make it resolved please, respect to FAQ