Skip to Content
Menu
This question has been flagged
1 Atsakyti
1265 Rodiniai


Could you please advise how can I resolve it :

When I try to confirm the Invoice there is this issue :

Validation Error

The Date (29/01/2024) doesn't match the sequence number of the related Journal Entry (INV/2023/00022) You will need to clear the Journal Entry's Number to proceed. In doing so, you might want to resequence your entries in order to maintain a continuous date-based sequence


Portretas
Atmesti

Hello, have you reached a solution to this problem?

Best Answer

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:

  1. Open the invoice that gives the error
  2. Switch to developer mode:
    • Go to Settings → Activate Developer Mode
  3. On the invoice form, click "Journal Entry" (or go to Accounting > Journal Entries)
  4. In the Journal Entry form:
    • Click Edit
    • Clear the “Name” field (which is INV/2023/00022)
    • Leave it blank
    • Save
  5. 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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
liep. 25
226
3
bal. 25
1467
3
bal. 25
2371
1
kov. 25
1495
2
saus. 25
1493