Add warning when posting invoices on the future
We should make dificult to post an invoice in the future because once an invoice is posted in the future it blocks posting other invoices on the past using the same sequence.
This is like #9355 (closed) but for invoices