mirror of
https://gitlab.com/datalifeit/trytond-aeat_sii
synced 2023-12-13 20:30:37 +01:00
Use material design icons.
This commit is contained in:
parent
a3cd2ab615
commit
414962b381
4
aeat.py
4
aeat.py
|
@ -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']),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"/>
|
||||
|
|
|
@ -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"/>
|
||||
|
|
|
@ -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"/>
|
||||
|
|
Loading…
Reference in a new issue