Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
3830 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvn 23
4061
1
dub 22
2864
2
čvn 17
22515
1
říj 15
8506
2
bře 15
10089