Prevent changing product type if stock move exists

issue3558
review2311003