Add confirmation on all buttons that can not be undone

issue5258
review271141002
This commit is contained in:
Maxime Richez committed 2019-04-14 16:36:00 +02:00
1 parent 2f95696bda
commit 243c52a3c6
1 file changed
+1
+1
View File
@@ -174,6 +174,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.model.button" id="shipment_drop_done_button">
<field name="name">done</field>
<field name="string">Done</field>
<field name="confirm">Are you sure you want to complete the shipment?</field>
<field name="model"
search="[('model', '=', 'stock.shipment.drop')]"/>
</record>