Add confirmation on all buttons that can not be undone

issue5258
review271141002
This commit is contained in:
Maxime Richez
2019-04-14 16:36:00 +02:00
parent 1fdc98f0a9
commit bfc58c8d2b
+1
View File
@@ -103,6 +103,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.model.button" id="landed_cost_post_button">
<field name="name">post</field>
<field name="string">Post</field>
<field name="confirm">Are you sure you want to post the landed cost?</field>
<field name="model"
search="[('model', '=', 'account.landed_cost')]"/>
</record>