← Back to team overview

openerp-expert-accounting team mailing list archive

[Bug 535109] Re: An accounting account of type other than view, having entries related to it, is allowed to change to internal type view

 

Hello Geoff,

No, its not late.
You actually punched at the right time.

For everybody,

Group1 = ['payable', 'receivable', 'other']
Group2 = ['consolidation','view']

The patch won't allow the change of type in following conditions:
1. If the account with its children(if any) have any entries and old type is in Group1, goes to new type in Group2.
2. If the account with its children(if any) have any entries and old type is in Group2, goes to new type in Group1.
3. If the account with its children(if any) have any entries and old type is Closed and new type is other than 'Closed'.

Let me know whether I need any more tests to make.

Thanks everybody for your time and feedbacks.

** Patch added: "type_change_chaos.patch"
   http://launchpadlibrarian.net/43440632/type_change_chaos.patch

-- 
An accounting account of type other than view, having entries related to it, is allowed to change to internal type view
https://bugs.launchpad.net/bugs/535109
You received this bug notification because you are a member of OpenERP's
Accounting Experts, which is a direct subscriber.

Status in OpenObject Addons Modules: In Progress

Bug description:
Go to:
Financial Management
  Configuration
   Financial Accounting
    Financial Accounts
     List of Accounts

Find an account which has entries related to it, meaning there are entries which use this account.
Let change the internal type this account has, being it other than view, receivable, payable, other, etc. and change it to view, save.

I think this behaivour is not right, it should not be allowed to change accounts with entries related to it