From a1ed3330e65db7d76fa27ae6c03ce303ad9ac436 Mon Sep 17 00:00:00 2001 From: Bernat Brunet Torruella Date: Fri, 19 Oct 2018 09:57:07 +0200 Subject: [PATCH] Fix bug on last merges --- aeat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aeat.py b/aeat.py index bc6432a..e289562 100644 --- a/aeat.py +++ b/aeat.py @@ -627,7 +627,7 @@ class SIIReport(Workflow, ModelSQL, ModelView): 'invoice': invoices_ids.get( reg.IDFactura.NumSerieFacturaEmisor), 'state': reg.EstadoFactura.EstadoRegistro, - 'last_modify_date': _date( + 'last_modify_date': _datetime( reg.EstadoFactura.TimestampUltimaModificacion), 'communication_code': reg.EstadoFactura.CodigoErrorRegistro, 'communication_msg': reg.EstadoFactura.DescripcionErrorRegistro, @@ -862,7 +862,7 @@ class SIIReportLine(ModelSQL, ModelView): 'operation_type') != 'C0', }) state = fields.Selection(AEAT_INVOICE_STATE, 'State') - last_modify_date = fields.Date('Last Modification Date', readonly=True) + last_modify_date = fields.DateTime('Last Modification Date', readonly=True) communication_code = fields.Integer( 'Communication Code', readonly=True) communication_msg = fields.Char(