In this particular situation this is the advice! Except it’s (Shift-Control-N) or (Shift-Cmd-N for Mac). Once you hit “Apply” you will get the desired outcome and any further inputting will respect this notation.
But using Notation Options means you won’t have to use force duration and re-enter the notes (in the OP’s particular situation).
In your example, Florent, you would select under “Notes starting on a beat followed by a rest in the middle of the beat:” -------- “Notate as a single note”
It’s important to note that every instance of these rhythms will be re-notated throughout the flows selected when invoked with the Notation Options with one simple click.
I’m suggesting that, as randywombat first mentions, Notation Options is the way to achieve this without fooling around with Force Duration.