Comment 6 for bug 560378

Revision history for this message
hbto [Vauxoo] http://www.vauxoo.com (humbertoarocha) wrote :

Hello guys,

I agree with Nhomar with the solution for the first addressing

For the second and addressing, a solution should like the one proposed by Joel@c2c in bug 535109

separating the closing method on two groups:

Real = [unreconciled <-> balance <-> detail]
Nominal = [none]

It is allowed to go from Nominal -> Real
It is allowed to go from Real -> Nominal if there are _no_ entries in journal of type = 'situation'
It is _not_ allowed to go from Real -> Nominal if there are entries in journal of type = 'situation'

this restriction should be applied to account when the user_type is being changed and/or to the deferral/closing method of the definition of the user_type (Account Type) is being changed.