Did anybody ever find a solution for this please? I deleted the last sales invoice (made a mistake) and try to remake it but it skips a number now so there is a gap in the numbering.
Is there any way to solve this in DB or code?
Thanks in advance
EDIT: First I tried to fix it with imports, which gave me the right numbers (manually set via xlsx file) but when adding a new sales invoice it gave me an error on duplicate naming so the numbering was not really “registered”. Then I found the solution (super easy, wish I found it earlier): Duplicate name Item Price RFD/03610
Setup → Settings → Naming Series and set the “last entry” number to the one you desire for the prefix you want.