openaccounting/oa-server

When updating account, parent should never be a child

pnagurny opened this issue · 1 comments

Steps to reproduce:

Account A
Account B
Account C

Edit Account A and set parent to be Account B.
This should not be allowed.

Also, parent should not be a descendant either.