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

[16.0][FIX] account_avatax_oca, force compute hearder taxes after onchange triggered #446

Open
wants to merge 3 commits into
base: 16.0
Choose a base branch
from

Conversation

ChrisOForgeFlow
Copy link

@OCA-git-bot
Copy link
Contributor

Hi @dreispt,
some modules you are maintaining are being modified, check this out!

@ChrisOForgeFlow ChrisOForgeFlow force-pushed the 16.0-fix-account_avatax_oca_ensure_compute_header_taxes branch 2 times, most recently from 85b8029 to 0096d9d Compare September 30, 2024 13:13
@ChrisOForgeFlow ChrisOForgeFlow force-pushed the 16.0-fix-account_avatax_oca_ensure_compute_header_taxes branch 2 times, most recently from d85becf to d0abfa2 Compare October 8, 2024 12:45
@ChrisOForgeFlow ChrisOForgeFlow force-pushed the 16.0-fix-account_avatax_oca_ensure_compute_header_taxes branch from d0abfa2 to 107363b Compare October 8, 2024 12:55
@ChrisOForgeFlow ChrisOForgeFlow force-pushed the 16.0-fix-account_avatax_oca_ensure_compute_header_taxes branch from 107363b to a3ae70a Compare October 8, 2024 13:17
):
for line_id in taxes_to_set.keys():
line = self.invoice_line_ids.filtered(lambda x: x.id == line_id)
line.tax_ids.write({"tax_ids": [(6, 0, [])]})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Raising error, I'm not sure which it's the purpose, but I suggest remove this line or change it for line.write({"tax_ids": [(6, 0, [])]})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants