From 140414e5402562688bad18ab5119c0e08a909d20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=B6ller?= Date: Mon, 22 May 2017 19:47:07 +0200 Subject: [PATCH] Migrate communication code field to Integer --- aeat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aeat.py b/aeat.py index 135370f..08f0f49 100644 --- a/aeat.py +++ b/aeat.py @@ -427,8 +427,8 @@ class SIIReportLine(ModelSQL, ModelView): 'aeat.sii.report', 'Issued Report', ondelete='CASCADE') invoice = fields.Many2One('account.invoice', 'Invoice') state = fields.Selection(AEAT_INVOICE_STATE, 'State') - communication_code = fields.Selection( - aeat_errors.AEAT_ERRORS, 'Communication Code', readonly=True) + communication_code = fields.Integer( + 'Communication Code', readonly=True) communication_msg = fields.Char( 'Communication Message', readonly=True) company = fields.Many2One(