changeset ae8a156e8274 in modules/account_statement:default
details: 
https://hg.tryton.org/modules/account_statement?cmd=changeset;node=ae8a156e8274
description:
        Add confirmation on all buttons that can not be undone

        issue5258
        review271141002
diffstat:

 statement.xml |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r c053ef01407f -r ae8a156e8274 statement.xml
--- a/statement.xml     Sun Apr 14 14:30:06 2019 +0200
+++ b/statement.xml     Sun Apr 14 16:36:00 2019 +0200
@@ -251,6 +251,7 @@
         <record model="ir.model.button" id="statement_post_button">
             <field name="name">post</field>
             <field name="string">Post</field>
+            <field name="confirm">Are you sure you want to post the 
statement?</field>
             <field name="model"
                 search="[('model', '=', 'account.statement')]"/>
         </record>

Reply via email to