changeset 41fc18e2af7f in modules/purchase_request_quotation:default
details: 
https://hg.tryton.org/modules/purchase_request_quotation?cmd=changeset;node=41fc18e2af7f
description:
        Use undo icon on draft button for cancelled quotations

        issue9367
        review321381002
diffstat:

 purchase.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0088e97fff75 -r 41fc18e2af7f purchase.py
--- a/purchase.py       Mon May 04 12:24:37 2020 +0200
+++ b/purchase.py       Thu Jun 04 10:45:52 2020 +0100
@@ -139,7 +139,7 @@
                     },
                 'draft': {
                     'invisible': ~Eval('state').in_(['cancelled', 'sent']),
-                    'icon': If(Eval('state') == 'cancel',
+                    'icon': If(Eval('state') == 'cancelled',
                         'tryton-undo',
                         'tryton-back'),
                     },

Reply via email to