Skip to content

Commit

Permalink
[FIX] Tax rounding not applied in Invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
atchuthan committed Aug 2, 2022
1 parent fa20330 commit 714e754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_avatax/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def _avatax_compute_tax(self, commit=False):

# Set Taxes on lines in a way that properly triggers onchanges
# This same approach is also used by the official account_taxcloud connector
with Form(self) as move_form:
with Form(self.with_context(avatax_invoice=self, check_move_validity=False)) as move_form:
for index, taxes in taxes_to_set:
with move_form.invoice_line_ids.edit(index) as line_form:
line_form.tax_ids.clear()
Expand Down

0 comments on commit 714e754

Please sign in to comment.