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

[FIX] account_avatax_oca,account_avatax_sale_oca: present theoretical tax rate on invoices #479

Open
wants to merge 2 commits into
base: 17.0
Choose a base branch
from

Conversation

dreispt
Copy link
Member

@dreispt dreispt commented Jan 22, 2025

Tax names used to represent taxes are changed, to show both the theoretical tax (e.g. "9.5%") and the real tax rate needed to Odoo to calculate the exact same cent value (e.g. "9.576%").
And on Invoiced we, want only the theoretical tax to be presented (e.g. "9.5%").
This was also a chance to refactor of the code related to Avalara tax code creation, that was reduced by removing redundancies.

Sample output for the the new Avalara tax naming approach:

image

  • [FIX] account_avatax_oca: present theoretical tax rate on invoices
  • [FIX] account_avatax_sale_oca: present theoretical tax rate on invoices

@dreispt dreispt force-pushed the 17-dr-avatax-tax-refactor branch from 8560651 to b8a9f05 Compare January 22, 2025 09:33
@dreispt dreispt requested review from RLeeOSI and agyamuta January 22, 2025 09:37
@dreispt dreispt force-pushed the 17-dr-avatax-tax-refactor branch from b8a9f05 to 41518c7 Compare January 22, 2025 13:08
@dreispt dreispt force-pushed the 17-dr-avatax-tax-refactor branch from 41518c7 to c0d998a Compare January 24, 2025 19:07
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.

1 participant