Update sendings.lib.php

delivery_prepare_head 
complete_head_from_modules use object->id 
but the good one id was in $object->origin_id
so we temporary change it