Hi,
In the Sales - Returns you have to return the quantities of crates that came back.
Then when the user copies the Delivery to the Invoice will only copy the milk unless the customer didn't send back all quantities of crates. In this case he can be Invoiced.
Regards,
Augusto