跳至内容
菜单
此问题已终结
1 回复
1224 查看


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


形象
丢弃

Hello, have you reached a solution to this problem?

最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
3
4月 25
1434
3
4月 25
2324
1
3月 25
1435
2
1月 25
1444
invoice 已解决
1
12月 24
1510