From 8ce2871f339e68e316aefdc7590322d42a1d2da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 19 Aug 2018 20:02:58 +0200 Subject: [PATCH] Use material design icons issue474 review60291002 --- purchase.py | 5 +++-- view/purchase_request_quotation_form.xml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/purchase.py b/purchase.py index 17ecdb76e3..231944d8b7 100644 --- a/purchase.py +++ b/purchase.py @@ -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') diff --git a/view/purchase_request_quotation_form.xml b/view/purchase_request_quotation_form.xml index ba348353bb..9a14fca9fd 100644 --- a/view/purchase_request_quotation_form.xml +++ b/view/purchase_request_quotation_form.xml @@ -30,7 +30,7 @@ this repository contains the full copyright notices and license terms. --> icon="tryton-cancel"/>