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

        issue5258
        review271141002
diffstat:

 fiscalyear.xml |  2 +-
 period.xml     |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 4cad2ca5136b -r 2a7b9888dc25 fiscalyear.xml
--- a/fiscalyear.xml    Fri Apr 12 19:43:53 2019 +0200
+++ b/fiscalyear.xml    Sun Apr 14 16:36:00 2019 +0200
@@ -82,7 +82,7 @@
         <record model="ir.model.button" id="fiscalyear_lock_button">
             <field name="name">lock</field>
             <field name="string">Lock</field>
-            <field name="confirm">Are you sure to lock the fiscal year?</field>
+            <field name="confirm">Are you sure you want to lock the fiscal 
year?</field>
             <field name="model" search="[('model', '=', 
'account.fiscalyear')]"/>
         </record>
 
diff -r 4cad2ca5136b -r 2a7b9888dc25 period.xml
--- a/period.xml        Fri Apr 12 19:43:53 2019 +0200
+++ b/period.xml        Sun Apr 14 16:36:00 2019 +0200
@@ -78,7 +78,7 @@
         <record model="ir.model.button" id="period_lock_button">
             <field name="name">lock</field>
             <field name="string">Lock</field>
-            <field name="confirm">Are you sure to lock the period?</field>
+            <field name="confirm">Are you sure you want to lock the 
period?</field>
             <field name="model" search="[('model', '=', 'account.period')]"/>
         </record>
 

Reply via email to