Better customization of invoice sequence
Since #5751 (closed) invoice.set_number is called with a list of invoice so it's harder to customize the invoice sequence for each invoice.
For a better customization, we should allow to customize the sequence and the context used to compute the number for each invoice.