[FIX] Account:
Group1 = ['payable', 'receivable', 'other']
Group2 = ['consolidation','view']
The change in type of Account should not be allowed in the 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'.
lp bug: https://launchpad.net/bugs/535109 fixed
bzr revid: jvo@tinyerp.com-
20100409091842-jat0tjzuin1gzfu3