From 55dd586be6aff364e9ef159f6020cc1007948d26 Mon Sep 17 00:00:00 2001 From: RitvikSardana Date: Wed, 10 Jul 2024 17:34:37 +0530 Subject: [PATCH] fix: use get_all to get data from fee component doctype --- education/education/doctype/fee_schedule/fee_schedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/education/education/doctype/fee_schedule/fee_schedule.py b/education/education/doctype/fee_schedule/fee_schedule.py index 157eadad..890c2b0e 100644 --- a/education/education/doctype/fee_schedule/fee_schedule.py +++ b/education/education/doctype/fee_schedule/fee_schedule.py @@ -95,7 +95,7 @@ def calculate_total_and_program(self): def validate_fee_components(self): fee_schedule_components = [d.fees_category for d in self.components] - fee_structure_components = frappe.get_list( + fee_structure_components = frappe.get_all( "Fee Component", pluck="fees_category", filters={"parent": self.fee_structure},