You will need to complete an Oregon non-resident tax return. Enter 0 Oregon income. You should receive the full amount of the OR taxes withheld as a refund.
To have TurboTax provide the Oregon return, in the Personal Info section using the desktop editions or in the My Info section using the online editions, you will have to indicate that you made money in other states and select Oregon as that state.
When entering your state income taxes you need to complete the non-resident Oregon return before completing the MA resident state tax return.