Skip to content
Snippets Groups Projects
Commit 2e63daac14a2 authored by Maxime Richez's avatar Maxime Richez
Browse files

Add confirmation on all buttons that can not be undone

issue5258
review271141002
parent 0e9eb5a3040d
No related merge requests found
......@@ -151,7 +151,7 @@
<record model="ir.model.button" id="invoice_cancel_button">
<field name="name">cancel</field>
<field name="string">Cancel</field>
<field name="confirm">Are you sure to cancel the invoice?</field>
<field name="confirm">Are you sure you want to cancel the invoices?</field>
<field name="help">Cancel the invoice</field>
<field name="model" search="[('model', '=', 'account.invoice')]"/>
</record>
......@@ -187,6 +187,7 @@
<record model="ir.model.button" id="invoice_post_button">
<field name="name">post</field>
<field name="string">Post</field>
<field name="confirm">Are you sure you want to post the invoices?</field>
<field name="model" search="[('model', '=', 'account.invoice')]"/>
</record>
<record model="ir.model.button-res.group"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment