Protect Cancel button with a confirmation pop-up

This commit is contained in:
Alexis de Lattre
2017-06-13 12:36:02 +02:00
committed by David Beal
parent 67f0690659
commit 0422c16c97

View File

@@ -17,6 +17,9 @@
<field name="date_start"/>
<field name="date_finished"/>
</field>
<button name="action_cancel" type="object" position="attributes">
<attribute name="confirm">Are you sure you want to cancel this manufacturing order?</attribute>
</button>
</field>
</record>