Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][FIX] l10n_es_vat_book: other_tax_ids key error in pop of create lines #3894

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading