Migrate communication code field to Integer

This commit is contained in:
Daniel Möller 2017-05-22 19:47:07 +02:00
parent c9c16f7c3c
commit 140414e540
1 changed files with 2 additions and 2 deletions

View File

@ -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(