The only way to flash the module is by soldering 4 wires to the RX/TX/3V3/GND pins on the ESP-07. The PCB has no serial pinout connectors. For connecting the ground (GND) on a V5.0 Modul you can use one of the 2 GND pinout connectors from the PCB. For flashing the moduls enable the flashmode of the ESP, connect PIN4 (GPIO00) to GND.
**_!!! Don't flash the module when it is connected to mains power. Use only a 3.3V USB Adapter for flashing!!!_**