Skip to content

Commit

Permalink
PEP8.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbcosta committed Aug 27, 2018
1 parent 3acd781 commit f0f07f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion l10n_br_account_product/sped/nfe/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,9 @@ def _details_pag_data(self, invoice):

def _invoice_data(self, invoice):
self.nfe.infNFe.cobr.fat.vLiq.valor = str(invoice.amount_total)
self.nfe.infNFe.cobr.fat.nFat.valor = str(invoice.internal_number or '')
self.nfe.infNFe.cobr.fat.nFat.valor = str(
invoice.internal_number or ''
)
self.nfe.infNFe.cobr.fat.vOrig.valor = str(invoice.amount_total)
# TODO - mapear/implementar vDesc
self.nfe.infNFe.cobr.fat.vDesc.valor = str('0.00')
Expand Down

0 comments on commit f0f07f1

Please sign in to comment.