Fix #1083: Draft invoices (and draft transactions, btw) don't redirect c...

...orrectly.

(grafted from 3ff21006f13df7bdc2636495e92e8d8df4d9c79e)

--HG--
extra : source : 3ff21006f13df7bdc2636495e92e8d8df4d9c79e