fix(Education): descriptions not copied while creating fees from fee structure (#22792)

Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
This commit is contained in:
Rucha Mahabal
2020-07-23 20:59:56 +05:30
committed by GitHub
parent 9843e9f917
commit 89f9346185
2 changed files with 2 additions and 1 deletions

View File

@@ -152,7 +152,7 @@ def get_fee_components(fee_structure):
:param fee_structure: Fee Structure.
"""
if fee_structure:
fs = frappe.get_list("Fee Component", fields=["fees_category", "amount"] , filters={"parent": fee_structure}, order_by= "idx")
fs = frappe.get_list("Fee Component", fields=["fees_category", "description", "amount"] , filters={"parent": fee_structure}, order_by= "idx")
return fs