Delivery note - problem fetching item in warehouse

Hi,

When trying to submit a delivery note, I get the error:
image

If I look at the details of the item from the delivery note, I see:
image

If I look at the item itself, I see:

I changed the warehouse from which the items should be fetched directly in the delivery note, as the wrong warehouse was entered in the sales order. Do you think that this could be the problem? The error mentions the correct warehouse, the one I’d like to get my item from.

Thanks for your help!

EDIT: I also checked that the manufacturing date was before the delivery note date, but that didn’t solve the problem.
I had the problem once, then deleted the delivery note and redid it. It worked. Then I tried to do 2 new delivery notes and the same problem shows up. Deleting the delivery notes did not work this time.