diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-08-14 10:40:57 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-08-14 10:46:05 +0200 |
| commit | d98ac716c18e78090ee0de32f52b886e104e2114 (patch) | |
| tree | d1067ec837b1be7a05bf0706bf6a4499ed03eac4 /addons/website/data/data.xml | |
| parent | 937b9575c034cacebc645544f7e2410a2cf0a797 (diff) | |
[FIX] account: account type of account created on bank account creation
When creating a new bank account
e.g. Accounting > Configuration > Accounts >
Setup your Bank Accounts
When the user leaves the journal blank,
a journal, and an account associated to this
journal, are automatically created.
The account type of the account created could be wrong,
as it used the account type of the parent of the first
account of internal type `Liquidity`, which
could not be an account of account type Cash or Bank, but of
account type 'View', and such an account type does not
have the right delivery forward method, in order to report
correctly the amounts when closing a fiscal year.
Instead of using the account type of the parent,
it should actually uses the account type of the sibbling,
which have a correct delivery forward method
opw-647311
Diffstat (limited to 'addons/website/data/data.xml')
0 files changed, 0 insertions, 0 deletions
