Hii,
here is some option to solution that
Option 1: Clear the Journal Entry Number
Odoo is already suggesting this: “You will need to clear the Journal Entry's Number to proceed.”
Here’s how:
- Open the invoice that gives the error
-
Switch to developer mode:
-
Go to Settings → Activate Developer Mode
-
On the invoice form, click "Journal Entry" (or go to Accounting > Journal Entries)
-
In the Journal Entry form:
-
Click Edit
-
Clear the “Name” field (which is INV/2023/00022)
-
Leave it blank
-
Save
-
Now go back to the invoice and try to Confirm/Post again
Odoo will automatically assign the correct number with a 2024 prefix (e.g., INV/2024/00001).
Option 2: Update the Invoice Date to Match the Sequence
If the invoice was actually for 2023, you could set the invoice date to 31/12/2023.
But if the invoice truly belongs to 2024, don’t do this — your accounting will be incorrect.
i hope it is use full
Option 3: Resequence (Advanced, Optional)
If you’ve confirmed multiple invoices already and they’re out of order, you might want to resequencing them. This can be done via:
-
Developer action (script)
-
OCA module account_sequence_reset
Hello, have you reached a solution to this problem?