What's New
ERPNext • refactor accounting

Use frm instead of cur_frm in client scripts

MI @mihir-kandoi · #59315 · merged 24 Sep 2026

Client scripts, form controllers and shared helpers now use the form they are given instead of relying on `cur_frm`, which points to whichever form refreshed last.