A dishwasher comprising - a body; - a washing cabin disposed on the body and wherein the washing process is performed; - a detergent dispenser that is detachably mounted on the body and wherein liquid/gel detergent can be filled; - a detergent receptacle that is disposed inside the detergent dispenser and wherein detergent is filled; - a scaling receptacle that is disposed next to the detergent receptacle and wherein the detergent to be used in the washing process is transferred from the detergent receptacle and collected; - at least one first opening that is arranged between the detergent receptacle and the scaling receptacle and that enables the detergent to be transferred from the detergent receptacle to the scaling receptacle; - at least one second opening that is arranged between the scaling receptacle and the washing cabin and that enables the detergent to be transferred from the scaling receptacle to the washing cabin; - at least one gasket that is seated on each opening (7, 8) and that provides leak proofing, - a dosing mechanism that is disposed between the detergent receptacle and the scaling receptacle and that enables the detergent to be transferred from the detergent receptacle towards the washing cabin by controlling opening/closing of the first opening and the second opening, - a first valve having a gasket thereon for closing the first opening, - a second valve having a gasket for closing the second opening, wherein the dosing mechanism enables at least one opening (7, 8) to be almost entirely closed during transfer of detergent from the detergent receptacle to the washing cabin, thus preventing that both of the openings (7, 8) are open at the same time; characterized by - a crankshaft disposed on the detergent receptacle, in the direction of the first opening and the second opening, - a piston rod, one end of which is fastened to the crankshaft, the other end extending towards the scaling receptacle, - a first support member, one end of which is fastened to the piston rod, moving in the vertical direction, - a second support member that is connected to the first support member, that has the second valve thereon and that moves together with the first support member in the vertical direction, - the first valve mounted to the second support member so as to move on the second support member, and - a first spring disposed between the first support member and the second support member and a second spring disposed between the first valve and the second valve. - a body; - a washing cabin disposed on the body and wherein the washing process is performed; - a detergent dispenser that is detachably mounted on the body and wherein liquid/gel detergent can be filled; - a detergent receptacle that is disposed inside the detergent dispenser and wherein detergent is filled; - a scaling receptacle that is disposed next to the detergent receptacle and wherein the detergent to be used in the washing process is transferred from the detergent receptacle and collected; - at least one first opening that is arranged between the detergent receptacle and the scaling receptacle and that enables the detergent to be transferred from the detergent receptacle to the scaling receptacle; - at least one second opening that is arranged between the scaling receptacle and the washing cabin and that enables the detergent to be transferred from the scaling receptacle to the washing cabin; - at least one gasket that is seated on each opening (7, 8) and that provides leak proofing, - a dosing mechanism that is disposed between the detergent receptacle and the scaling receptacle and that enables the detergent to be transferred from the detergent receptacle towards the washing cabin by controlling opening/closing of the first opening and the second opening, - a first valve having a gasket thereon for closing the first opening, - a second valve having a gasket for closing the second opening, wherein the dosing mechanism enables at least one opening (7, 8) to be almost entirely closed during transfer of detergent from the detergent receptacle to the washing cabin, thus preventing that both of the openings (7, 8) are open at the same time; characterized by - a crankshaft disposed on the detergent receptacle, in the direction of the first opening and the second opening, - a piston rod, one end of which is fastened to the crankshaft, the other end extending towards the scaling receptacle, - a first support member, one end of which is fastened to the piston rod, moving in the vertical direction, - a second support member that is connected to the first support member, that has the second valve thereon and that moves together with the first support member in the vertical direction, - the first valve mounted to the second support member so as to move on the second support member, and - a first spring disposed between the first support member and the second support member and a second spring disposed between the first valve and the second valve.