I tried a few variations on the function game.player.force.set_cease_fire() but saw no effect. If it worked it might create more problems because turrets would also fire at turrets and other structures.
I could do this if I change the force of the turret when it is placed. This has several problematic side effects:
- can't open the inventory of the turret (for bullet firing turrets)
can't repair the turret
technologies will not apply to the other force