From 22ec48159e1ef396e370abf6c517a005c92eff8a Mon Sep 17 00:00:00 2001 From: khushi8112 Date: Mon, 17 Nov 2025 17:59:20 +0530 Subject: [PATCH] fix(minor): use corrct field name in patch --- .../patches/v16_0/migrate_budget_records_to_new_structure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/v16_0/migrate_budget_records_to_new_structure.py b/erpnext/patches/v16_0/migrate_budget_records_to_new_structure.py index 1c94f0e34bd..fd6920cd99e 100644 --- a/erpnext/patches/v16_0/migrate_budget_records_to_new_structure.py +++ b/erpnext/patches/v16_0/migrate_budget_records_to_new_structure.py @@ -28,7 +28,7 @@ def execute(): ) if old_distribution: - percentage_list = [flt(d.percentage) for d in old_distribution] + percentage_list = [flt(d.percentage_allocation) for d in old_distribution] else: percentage_list = [100 / 12] * 12