Skip to content

Commit

Permalink
fix: use get_all to get data from fee component doctype
Browse files Browse the repository at this point in the history
  • Loading branch information
RitvikSardana committed Jul 10, 2024
1 parent 46efae3 commit 55dd586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion education/education/doctype/fee_schedule/fee_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit 55dd586

Please sign in to comment.