Skip to content

Commit

Permalink
[FIX] Include past invoices in report
Browse files Browse the repository at this point in the history
  • Loading branch information
astirpe committed Feb 8, 2019
1 parent 3bea0a6 commit 8c7a7cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion l10n_nl_tax_statement/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
'name': 'Netherlands BTW Statement',
'version': '12.0.1.0.0',
'version': '12.0.1.0.1',
'category': 'Localization',
'license': 'AGPL-3',
'author': 'Onestein, Odoo Community Association (OCA)',
Expand Down
3 changes: 2 additions & 1 deletion l10n_nl_tax_statement/models/l10n_nl_vat_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ def statement_update(self):
# calculate lines
lines = self._prepare_lines()
taxes = self._compute_taxes()
taxes |= self._compute_past_invoices_taxes()
self._set_statement_lines(lines, taxes)
taxes = self._compute_past_invoices_taxes()
self._set_statement_lines(lines, taxes)
self._finalize_lines(lines)

Expand Down

0 comments on commit 8c7a7cc

Please sign in to comment.