Account Dropdowns Survive the Biggest Charts of Accounts
Bug FixOpening a GL account dropdown used to load the entire account tree — every child, every level. On a business whose Customer Receivable head carries 600,000+ party accounts, that crashed the page with an out-of-memory error before a single option appeared.
🌳 The GL Browse Goes Structural: • Browsing GL heads now builds the tree from structural heads only — party and transaction accounts are never tree-loaded, at any depth • The same dropdown that exhausted 768 MB now answers with the full structural tree in a few milliseconds.
🔎 Search Still Finds Everything: • Typing into the dropdown searches all accounts, party accounts included — the structural tree is for browsing, the search box is for finding • Child accounts in the tree are also selectable again (their ids used to come through empty).
Result: The accounts screens stay instant no matter how many customer accounts the books accumulate.