Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4903 Widoki

Hi and Thanks for your time,

In version 14 enterprise , I have 2 Journal records:

1.  Name:  My Bank,  Type:  Bank,  Short  Code: BNK1

2. Name: Test Journal Record, Type: Bank, Short Code: TJR


Now when I create a Customer Payment or Vendor Payment and select the Journal=" Test Journal Record", the Journal Entry record created against this Payment always has "BNK1" as prefix of it's name although the selected Journal="Test Journal Record" with code "TJR".

Can anyone please explain what could be the cause of this issue and how this can be fixed.

Also, does the prefix of Journal Entry name really depends on Short Code in Journal selected on Payment? I ask this because I changed the Short Code of "My Bank" to "BNK2" but still the prefix is "BNK1". Would really appreciate your help on this issue.

Thanks  a  lot   


Awatar
Odrzuć
Najlepsza odpowiedź

The prefix of Journal Entry name depends on Short Code in Journal selected on Payment if there is no payments created against the journal. But if you already have Journal Entry created and tried to change the short code, the  Journal Entry name will not take the new short code prefix and it will take the old ones. It take it the latest  value  of  sequence_prefix field in account.move table for the selected journal.

By the way , There are many changes in Odoo code regarding sequence and I prefer to get the latest Odoo 14.0  code.

To check the latest commits:

https://github.com/odoo/odoo/commits/14.0/addons/account

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
kwi 24
1256
2
gru 21
4836
1
wrz 21
3292
1
sty 21
5445
1
paź 19
3026