Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Tryton Tryton
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 711
    • Issues 711
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 72
    • Merge requests 72
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TrytonTryton
  • TrytonTryton
  • Issues
  • #11317
Closed
Open
Issue created Mar 16, 2022 by Nicolas Évrard@nicoe👾Owner

Tax rounding when using multiple taxes results in wrong total amount

Due to the rounding operated on each tax in the TaxableMixin's _round_taxes method a loss of precision might result in a total price that is not the correct one.

Here's an example (a bit artificial but easier to understand):

Tax1 of 10% Tax2 of 10% The amount tax included is 1.25, it will result in a base amount of 1.0417

The current implementation will lose 0.01 and thus the amount tax included will be 1.24.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking