1. add a new "Partido".
2. Inside the "partido" whit GridField add a new "Equipo".
3 Inside the "Equipo" whit another Gridfield, link existings "Jugador". so far so good and working.
4. inside the "Jugador" whit another gridfield for "Puntuaciones" try to add a "Puntuacion" but wen the screen of new "Puntuacion" shows, I lost the "Partido" relation.
in other words I dont know to which partido i'm going to record the "Puntuacion", only the "JugadorID" remains, and I have to set manually with a dropdowfiel or something the PartidoID and this is what I dont want.

I hope you understand what the problem is and any help will be grateful.

Hi again,
If I understand correctly a Puntuacion can belong to multiple Partido? And a Partido can belong to multiple Puntuacion?
You might be after a many_many/belongs_many_many relationship
Remove the has_one/has_many and try adding these.

My problems resides specificly when i want to add a Puntuacion, because the gridfield seems only to manage the relationship between the "Jugador" and the new "Puntuacion", but the Jugador already has a relationships with a Equipo to which it belongs, and that Equipo belongs to a "Partido". and to add a puntuacion I need the PartidoID too.

So in class Puntuacion y don`t know how to have access to that PartidoID when I'm adding a new Puntuacion.

The solution I found is by adding a dropdownField that shows all the Partidos, and I have to manually select the correct Partido.
but I want to know if exist a way to do it automaticly.