Do you have to record depreciation on a flip? Also, if you sell a rental property halfway thru a year, do you record the depreciation in the year that its sold?