Use material design icons

issue474
review60291002
This commit is contained in:
Cédric Krier committed 2018-08-19 20:02:58 +02:00
1 parent d4ed3e3b82
commit 8ce2871f33
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -143,8 +143,9 @@ class Quotation(Workflow, ModelSQL, ModelView):
},
'draft': {
'invisible': ~Eval('state').in_(['cancelled', 'sent']),
'icon': If(Eval('state') == 'cancel', 'tryton-clear',
'tryton-go-previous'),
'icon': If(Eval('state') == 'cancel',
'tryton-undo',
'tryton-back'),
},
'send': {
'invisible': ((Eval('state') != 'draft')
+1 -1
View File
@@ -30,7 +30,7 @@ this repository contains the full copyright notices and license terms. -->
icon="tryton-cancel"/>
<button name="reject" string="Reject" icon="tryton-close"/>
<button name="draft" string="Draft"/>
<button name="send" string="Send" icon="tryton-go-next"/>
<button name="send" string="Send" icon="tryton-forward"/>
<button name="receive" string="Receive" icon="tryton-ok"/>
</group>
</group>