Account balance should be checked removing it's type
It is possible to remove the type of an account when it has some balance for the current period. This situation produces an unbalanced chart so I think we should add a validation to prevent it so we should force the user to move the balances to a different account which has a type set so the amounts won't be lost in the balance.