Use material design icons.

This commit is contained in:
Juanjo Garcia 2019-09-05 12:54:04 +02:00
parent a3cd2ab615
commit 414962b381
5 changed files with 6 additions and 6 deletions

View file

@ -342,11 +342,11 @@ class SIIReport(Workflow, ModelSQL, ModelView):
'draft': {
'invisible': ~Eval('state').in_(['confirmed',
'cancelled']),
'icon': 'tryton-go-previous',
'icon': 'tryton-back',
},
'confirm': {
'invisible': ~Eval('state').in_(['draft']),
'icon': 'tryton-go-next',
'icon': 'tryton-forward',
},
'send': {
'invisible': ~Eval('state').in_(['confirmed']),

View file

@ -69,7 +69,7 @@ class Invoice(metaclass=PoolMeta):
cls._buttons.update({
'reset_sii_keys': {
'invisible': Bool(Eval('sii_state', None)),
'icon': 'tryton-executable'}
'icon': 'tryton-launch'}
})
if hasattr(cls, '_intercompany_excluded_fields'):
cls._intercompany_excluded_fields += sii_fields

View file

@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<form col="2">
<image name="tryton-dialog-information" xexpand="0" xfill="0"/>
<image name="tryton-info" xexpand="0" xfill="0"/>
<group id="strings">
<label string="The AEAT SII Pending Issued Ivoices books will be create."
id="upgraded" yalign="0.0" xalign="0.0" xexpand="1"/>

View file

@ -2,7 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<form col="2">
<image name="tryton-dialog-information" xexpand="0" xfill="0"/>
<image name="tryton-info" xexpand="0" xfill="0"/>
<group id="strings">
<label string="The AEAT SII Pending Received Ivoices books will be create."
id="upgraded" yalign="0.0" xalign="0.0" xexpand="1"/>

View file

@ -2,7 +2,7 @@
<!-- The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<form col="2">
<image name="tryton-dialog-information" xexpand="0" xfill="0"/>
<image name="tryton-info" xexpand="0" xfill="0"/>
<label string="The AEAT SII records have been reasigned."
id="data"
yalign="0.0" xalign="0.0" xexpand="1"/>