Yes you do so long as you see a BA flight number during booking, to indicate a code shared flight. If this is important, in terms of TP earning, then check the specific details here before booking. ORY on VY was always set by IAG to have code shares.