-
- 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#75792
Signed-off-by:
William Henrotin <Whenrow@users.noreply.github.com>
Showing
- addons/purchase_stock/models/purchase.py 3 additions, 3 deletionsaddons/purchase_stock/models/purchase.py
- addons/purchase_stock/tests/test_purchase_order.py 31 additions, 1 deletionaddons/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