-
- Downloads
[FIX] sale_stock, purchase_stock: fix conversion qty received
Rounding in purchase order is 'UP' which is causing issue when doing receipt in a different uom than the purchase. Rounding should be 'HALF-UP' Added test in purchase and sales to ensure this issue is detected in the future. closes odoo/odoo#75975 X-original-commit: 3f6f5868 Signed-off-by:William Henrotin <Whenrow@users.noreply.github.com>
Showing
- addons/purchase_stock/models/purchase.py 4 additions, 4 deletionsaddons/purchase_stock/models/purchase.py
- addons/purchase_stock/tests/test_purchase_order.py 30 additions, 0 deletionsaddons/purchase_stock/tests/test_purchase_order.py
- addons/sale_stock/tests/test_sale_stock.py 29 additions, 0 deletionsaddons/sale_stock/tests/test_sale_stock.py
Loading
Please register or sign in to comment