Slang for cursing alot. Potty implies dirty and mouth refers to speaking. Putting them together means to speak dirty words. It really isn't that complex. Often used by children or adults speaking to children about cursing.

You could also say somebody is a potty mouth if they curse a lot.