After upgrading from 3.1.9 to 4.4.3, issued invoices are getting their numbers incremented when changing the status to 'Paid'!!
I suspect this could have something to do with the new isIssued/wasIssued/isDone fields introduced in 4.0? These are all set to 0 for existing records no matter the status. So an invoice issued before the update would not have it set? How does the number increment logic work in detail and is this expected behavior under these circumstances?
How can we prevent this from happening?
I suspect this could have something to do with the new isIssued/wasIssued/isDone fields introduced in 4.0? These are all set to 0 for existing records no matter the status. So an invoice issued before the update would not have it set? How does the number increment logic work in detail and is this expected behavior under these circumstances?
How can we prevent this from happening?

Comment