Fix wrong buttons appearing in new invoice.

(grafted from 8f80c64a21fb8fc3ba11565828536df21e8fcc80)

--HG--
extra : source : 8f80c64a21fb8fc3ba11565828536df21e8fcc80