Simultaneously Charge and Discharge a LiPo
You need to have a charge controller circuit between the solar panel and the battery.
The voltage and current from the solar panel will vary depending on the amount of light landing on it and so it needs to be regulated. 
The battery has requirements for charging so that it is looked after and not over heated.