-
- Downloads
[FIX] delivery: compute total amount only if a sale order exists
Steps to reproduce the bug:
- Create a delivery transfer:
- Add any product
- Select any carrier in the additional info tab
- try to validate the transfer
Problem:
An error is triggered: `ValueError: Expected singleton: sale.order()`
The `_compute_amount_total_without_delivery` function is called with an
empty recordset whereas we need to trigger it with a sale_order
opw-3164490
opw-3168878
opw-3166074
closes odoo/odoo#112069
Signed-off-by:
Djamel Touati (otd) <otd@odoo.com>
Please register or sign in to comment