changeset a73123a453a8 in modules/purchase_request_quotation:5.2
details:
https://hg.tryton.org/modules/purchase_request_quotation?cmd=changeset;node=a73123a453a8
description:
Use undo icon on draft button for cancelled quotations
issue9367
review321381002
(grafted from 41fc18e2af7fc4ad35e6eb011e6bc67732661a6e)
diffstat:
purchase.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 4e976921cfa8 -r a73123a453a8 purchase.py
--- a/purchase.py Sat Apr 04 17:13:17 2020 +0200
+++ b/purchase.py Thu Jun 04 10:45:52 2020 +0100
@@ -146,7 +146,7 @@
},
'draft': {
'invisible': ~Eval('state').in_(['cancelled', 'sent']),
- 'icon': If(Eval('state') == 'cancel',
+ 'icon': If(Eval('state') == 'cancelled',
'tryton-undo',
'tryton-back'),
},