[Trunk] Can't create cash and bank accounts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Addons Team 3 |
Bug Description
When setup new Chart of Accounts it take field Bank Account from Account Chart Template and by default create two accounts:
Cash (generate code from Bank Account + 01)
Bank (generate code from Bank Account + 02)
Then OpenERP use it accounts for payments.
But for my country need other code for account, for example, Cash - 50 and Bank - 51. And I can't create full-featured Account Chart Template, that according to country.
Why not set two field of default accounts for Account Chart Template? It will more generaly.
Like:
1) Define account template for Cash account
2) Define account template for Bank account
3) In Account Chart Template define field that will point to Cash account template
4) In Account Chart Template define field that will point to Bank account template
And developer of Chart Template can direct point correct account, instead of having to rely on artificial intelligence of framework.
Hello Wowas,
When you create any chart of account cash liquidity are there for any for the COA. Thats why we have made by default cash and bank account for any COA .
This is due to we have create one method on account which is _prepare_ bank_account see line number 3482 of account.py.
At there we have created this two account by default when you install any chart of account.
Yes, you are right. IF you want to create your own COA with different code of bank and cash account for example you have made one new chart of account module which have a specific code for bank and cash then it should be create a problem.
I appreciated your suggested solution that we have to create a chart template for this both the account and based on this chart account template we can create bank and cash account.
Consider as a improvement and set as wishlist.
Thank you!