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

        issue5258
        review271141002
diffstat:

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

diffs (11 lines):

diff -r 299a7b925376 -r 451265b056d5 account.xml
--- a/account.xml       Sun Apr 07 19:50:02 2019 +0200
+++ b/account.xml       Sun Apr 14 16:36:00 2019 +0200
@@ -103,6 +103,7 @@
         <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>

Reply via email to