Skip to content

Commit

Permalink
Inclusão de campo para gravar série da nota do fornecedor
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioluna authored and danimaribeiro committed Aug 30, 2017
1 parent 2c63bd7 commit 4009474
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions br_account_einvoice/models/account_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def _prepare_edoc_vals(self, invoice):
'tipo_operacao': TYPE2EDOC[invoice.type],
'model': invoice.fiscal_document_id.code,
'serie': invoice.document_serie_id.id,
'serie_documento': invoice.document_serie_id.code,
'numero': invoice.internal_number,
'numero_controle': num_controle,
'numero_nfe': invoice.internal_number,
Expand Down
1 change: 1 addition & 0 deletions br_account_einvoice/models/invoice_eletronic.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class InvoiceEletronic(models.Model):
serie = fields.Many2one(
'br_account.document.serie', string=u'Série',
readonly=True, states=STATE)
serie_documento = fields.Char(string=u'Série Documento', size=6)
numero = fields.Integer(
string=u'Número', readonly=True, states=STATE)
numero_controle = fields.Integer(
Expand Down

0 comments on commit 4009474

Please sign in to comment.