Where an unharvested crop sold by the taxpayer is considered under the provisions of section
1231 as “property used in the trade or business”, in computing taxable income no deduction (whether or not for the taxable year of the sale and whether for expenses, depreciation, or otherwise) attributable to the production of such crop shall be allowed.