Skip to Content
Menu
This question has been flagged
3 Replies
3818 Views

Screenshot

Shown in the screenshot above, I found that there are three journals with the same numbering. Those journals are created within months interval, hence I think race condition should not be the issue.

I thought journal can't have the same numbering.

I am using Odoo 11 Enterprise hosted in Kubernetes.

How can I solve this, so it won't happen in the future?

Avatar
Discard
Best Answer

Do you have multi-company enabled and have multiple companies? If yes, please check the Company of those journal entries. I am sure those entries would be belonging to different companies.

Normally the number is unique per company.

Avatar
Discard
Author

I have checked, they are all belong in the same company.

Best Answer

Hi Mikael,

I've tried it on runbot. When duplicating or manually creating a new journal, it's now (V11) not possible to select a sequence yourself. Odoo automatically creates a new sequence. So I think the only way now to create this issue is by creating a journal by import and having the field 'sequence' filled with an already linked sequence. 

I don't know how law is in your country, but in my country (Netherlands) there is no legislation on sequences in administration for bank accounts. It is of course strongly recommended to have a one2one relation between bank account and journal, but no rules on sequences. 

As it is probably not possible to manually change the sequence on a journal, you could check if you can delete the journals if you haven't used them yet, and recreate them manually if you need them. If the journals are already used, I'd advise you to manually create sequences and link them to your journals by export / import. 

Good luck!


Avatar
Discard
Related Posts Replies Views Activity
2
Jun 23
4041
1
Apr 22
2847
2
Jun 17
22496
1
Oct 15
8499
2
Mar 15
10083