[T5877][FIX] checks if picking_id is linked to a sale_id and has order lines...

Merged Javier Vescio requested to merge T5877 into 15.0-prod

[T5877][FIX] checks if picking_id is linked to a sale_id and has order lines before trying to read them

Merge request reports