had to
Además, había que hacerle un montón de pruebas.
In addition, it needed to undergo a lot of tests.
— Voraz (2017)
We should have thought about it beforehand.
— Moscú no cree en lágrimas (1980)
Tom decidió que no había que pintar el techo.
Tom decided that the ceiling didn't need to be painted.
Había que tener pelotas para acercarse a ella.
You had to have balls to approach her.
— Río Místico (2003)
Hemos hecho todo lo que había que hacer.
We’ve done everything that needed to be done.