I found the plant on a fench around an orange orchard. No garden in the environment, only more orange orchards. It was in a valley near Gandia (Valencia region) 15 kms from the coast.
I don't know if it's edible, I didn't try it. When I opened the seedpod there came a milky juice on the place where it was damaged. The plants that have milky juices that I know are very bitter or toxic.