was supposed to be done
Quelque chose devait être fait.
Something had to be done.
J'ai fait ce qui devait être fait.
I did what had to be done.
It had to be done.
Mon point de vue était différent du sien concernant ce qui devait être fait.
My view was different from his regarding what should be done.