An automatic fryer characterized in that it comprises - a removable and vertically arranged frying tub, with an inlet for the product and a rotating radial blade, wherein the frying tub is split in two parts by means of the rotating radial blade, and in that it comprises - frying control means connected to the frying tub, which in turn comprise - frying time control means connected to each of the parts of the frying tub and to the rotating radial blade, for the automatic removal of the products to be fried once an established time has lapsed, and - automatic opening means of the inlet configured for the automatic opening of said inlet when at least one of the two parts of the frying tub is empty, - a fume- and odor-treatment system, which in turn comprises - a condensation system, having - at least one condenser connected to a fume exhaust of the frying tub, arranged in the upper part thereof, - an air outlet through which clean air exits, - and a condensate outlet through which an outlet flow exits the condensation system, the condensate outlet being connected to a condensate collector, - an activated carbon filter attached at the air outlet of the condensation system, having an outlet for the activated carbon filter through which an outlet flow exits the activated carbon filter, - an ozone generator generating an ozone flow which is mixed with the fume flow from the fryer, treating said flow, - and an extractor, which expels the outlet flow of the activated carbon filter outside the fryer. - a removable and vertically arranged frying tub, with an inlet for the product and a rotating radial blade, wherein the frying tub is split in two parts by means of the rotating radial blade, and in that it comprises - frying control means connected to the frying tub, which in turn comprise - frying time control means connected to each of the parts of the frying tub and to the rotating radial blade, for the automatic removal of the products to be fried once an established time has lapsed, and - automatic opening means of the inlet configured for the automatic opening of said inlet when at least one of the two parts of the frying tub is empty, - frying time control means connected to each of the parts of the frying tub and to the rotating radial blade, for the automatic removal of the products to be fried once an established time has lapsed, and - automatic opening means of the inlet configured for the automatic opening of said inlet when at least one of the two parts of the frying tub is empty, - a fume- and odor-treatment system, which in turn comprises - a condensation system, having - at least one condenser connected to a fume exhaust of the frying tub, arranged in the upper part thereof, - an air outlet through which clean air exits, - and a condensate outlet through which an outlet flow exits the condensation system, the condensate outlet being connected to a condensate collector, - at least one condenser connected to a fume exhaust of the frying tub, arranged in the upper part thereof, - an air outlet through which clean air exits, - and a condensate outlet through which an outlet flow exits the condensation system, the condensate outlet being connected to a condensate collector, - an activated carbon filter attached at the air outlet of the condensation system, having an outlet for the activated carbon filter through which an outlet flow exits the activated carbon filter, - an ozone generator generating an ozone flow which is mixed with the fume flow from the fryer, treating said flow, - and an extractor, which expels the outlet flow of the activated carbon filter outside the fryer.