My mask for invoices is FV/{000@0}/{mm}/{yyyy}
I want the counter to reset every month.
however When I create first invoice - for example first invoice in Ferbruary it get (PRO_something)
When I confirm the invoice it get number:
FV/001/02/2023 - that is what I expect.
When I create a next invoice.
When I try to accept it it tries to get the same number FV/001/02/2023
I got error: DB_ERROR_RECORD_ALREADY_EXISTS
Duplicate entry ‘FV/001/02/2023-1’ for key ‘uk_facture_ref’