Open dastcaboz opened 2 years ago
Same issue, new problem: weight corrections can lead to strange decimal inaccuracies, as in below case. This should be avoided with rounding to full kg.
@treviser can you please tell me on which field you need to remove decimal places ?? if possible then please attach screen shot, so i can easily find it, thanks
Where are we with this issue?
Please review it mainly in relation to the "Weight correction". If the corrected weight is proportianlly distributed on every lot, weights with three digits are generated. This might be correct but not really useful.
Could you change the way odoo distributes the weights on each lot with the aim to have integer numbers (undivided kg's).
In the below illustrated example the distribution would be p.e. as follows:
LOT00435: 3 kg (rounded up from 2.850 kg) LOT00439: 10 kg (rounded up from 9.500 kg) LOT00440: 6 kg (would have to be rounded up to 7 kg, but the rule should be that because only 6 kg remain to be distributed it is rounded down to 6 kg) Total: 19 kg
@siddharth7815 : Is there a possibility to resolve this issue?
The weight of products should be shown in whole numbers without decimal places.
Current: 56,235, New: 56 Current: 24,561, New 25