Upon running 'Delete all the Transactions for this Company', Healthcare Service Units are also removed, including the root.
And it's not possible to add any other units as the root is removed.
But for some weird reasons, I was able to add the root back via Quick Entry after like 3 tries. Another bug, I guess?
Upon running 'Delete all the Transactions for this Company', Healthcare Service Units are also removed, including the root. And it's not possible to add any other units as the root is removed.
But for some weird reasons, I was able to add the root back via Quick Entry after like 3 tries. Another bug, I guess?
Adding doctype to this list will solve the issue. https://github.com/frappe/erpnext/blob/develop/erpnext/setup/doctype/transaction_deletion_record/transaction_deletion_record.py#L176-L183