Closed lasuk closed 2 months ago
Account category root nodes are immutable in CashCtrl. We silently ignore them when updating or deleting account categories.
Fixes below error when mirroring an account chart in which the /Balance category has no sub-nodes:
/Balance
>>> cc_ledger.mirror_account_chart(accounts, delete=True) requests.exceptions.RequestException: API call failed. A system-category cannot be deleted.
We should extend tests to cover this option.
Account category root nodes are immutable in CashCtrl. We silently ignore them when updating or deleting account categories.
Fixes below error when mirroring an account chart in which the
/Balance
category has no sub-nodes: