This is my understanding as well. Miles are credited based on the operating carrier and whatever voodoo magic determines the fare class on a codeshare.
At least for OZ, sketchy translation aside: "A passenger using codeshare flights of two Star Alliance partners may earn Asiana Club Miles are earned based on the flight name and the reservation class of the operator."