Skip to content

Commit

Permalink
[FIX] l10n_es_vat_book: other_tax_ids key error in pop of create vat_…
Browse files Browse the repository at this point in the history
…book lines
  • Loading branch information
navarrorico committed Jan 13, 2025
1 parent 1ccb1e7 commit ddfa789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_es_vat_book/models/l10n_es_vat_book.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def create_vat_book_lines(self, move_lines, line_type, taxes):
line_vals["special_tax_group"] = tax_group
tax_line["special_tax_group"] = tax_group
sp_taxes[tuple(tax_line["other_tax_ids"])] = tax_line
tax_line.pop("other_tax_ids")
tax_line.pop("other_tax_ids", None)
# Second loop for putting the values in the other lines
if sp_taxes:
for tax_line in tax_lines.values():
Expand Down

0 comments on commit ddfa789

Please sign in to comment.