Created on 2022-03-16.17:43:44 by nicoe, last changed 1 week ago by reviewbot.
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.
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-05-14 01:22:43 | reviewbot | set | messages: + msg76637 |
2022-04-12 16:58:58 | reviewbot | set | messages: + msg75733 |
2022-03-28 15:40:44 | reviewbot | set | messages: + msg74832 |
2022-03-25 15:35:10 | reviewbot | set | messages: + msg74737 |
2022-03-16 20:43:32 | yangoon | set | nosy: + yangoon |
2022-03-16 18:01:26 | reviewbot | set | messages:
+ msg74572 nosy: + reviewbot |
2022-03-16 17:44:14 | nicoe | set | keyword:
+ review reviews: 397551005 |
2022-03-16 17:43:44 | nicoe | create |
Showing 10 items. Show all history (warning: this could be VERY long)