invoice number should only increment when going from draft to open status

invoice number should only increment when going from draft to open status

avoid issues such as:

* you make 5 draft invoices
* the last invoice is converted to open and sent to customer
* the other 4 drafts are deleted

-> tax authorities will notice 4 invoice numbers missing.. why? -> difficult discussion