Odoo 10 : Call a confirmation form (Yes / No) from Wizard

前端 未结 3 614
失恋的感觉
失恋的感觉 2021-01-16 06:50

I want to add to my purchase order a \'cancel\' button. This button will change the state of my record to \'canceled\'. When the user click on this button the script verify

3条回答
  •  Happy的楠姐
    2021-01-16 07:17

    You can add:

    confirm="Your Custom message like Are you sure you want to process this?"
    

    in button in xml.

提交回复
热议问题