Skip to content

Commit

Permalink
[FIX] l10n_es_aeat_mod340: Poner suma de cantidades enviadas + recibi…
Browse files Browse the repository at this point in the history
…das en exportación
  • Loading branch information
pedrobaeza committed Jun 23, 2015
1 parent 8778ea5 commit 40d2e8d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions l10n_es_aeat_mod340/wizard/export_mod340_to_boe.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,14 @@ def _get_formatted_declaration_record(self, cr, uid, report, context=None):
# Número total de registros
text += self._formatNumber(report.number_records, 9)
# Importe total de la base imponible
text += self._formatNumber(report.total_taxable, 15, 2, True)
text += self._formatNumber(
report.total_taxable + report.total_taxable_rec, 15, 2, True)
# Importe Total de la cuota del impuesto
text += self._formatNumber(report.total_sharetax, 15, 2, True)
text += self._formatNumber(
report.total_sharetax + report.total_sharetax_rec, 15, 2, True)
# Importe total de las facturas
text += self._formatNumber(report.total, 15, 2, True)
text += self._formatNumber(
report.total + report.total_rec, 15, 2, True)
# Blancos
text += 190 * ' '
# NIF del representante legal
Expand Down

0 comments on commit 40d2e8d

Please sign in to comment.