Created on 2022-03-16.17:43:44 by nicoe, last changed 1 month 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.
|2022-06-21 04:04:34||reviewbot||set||messages: + msg77153|
|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|
nosy: + reviewbot
Showing 10 items. Show all history (warning: this could be VERY long)