SIGN IN SIGN UP

[FIX] sale_mrp: fix qty_delivered_at_date for kits

When selling a kit, the qty_delivered_at_date was not ignoring moves
that were done after the accrual_entry_date.

Steps to reproduce:
-------------------
* Create a kit with any component and make it's invoice policy
  "Delivered quantities"
* Create a sale order for this kit and confirm it, change the order date
  to any date in the past
* Validate the picking
* Go check the "Invoiced to be issued"
* Change the accrual_entry_date to a date before the picking was
  validated
> Observation: The order still appears

opw-6290222

closes odoo/odoo#274745

Signed-off-by: Steve Van Essche <svs@odoo.com>
R
Robin Engels (roen) committed
49c3a6afdad0fcfd81c7dd7b8a445e8a2f50973f
Parent: 1f2ea7b
Committed by svs-odoo <svs@odoo.com> on 9/1/2026, 9:45:22 AM