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

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   


Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
dub 24
1259
2
pro 21
4839
1
zář 21
3292
1
led 21
5450
1
říj 19
3028