Update supplier_scorecard.py (#20060)

This commit is contained in:
RJPvT
2019-12-24 07:55:05 +01:00
committed by Nabin Hait
parent 9635df4f26
commit 9512e55704

View File

@@ -138,7 +138,7 @@ def refresh_scorecards():
# Check to see if any new scorecard periods are created
if make_all_scorecards(sc.name) > 0:
# Save the scorecard to update the score and standings
sc.save()
frappe.get_doc('Supplier Scorecard', sc.name).save()
@frappe.whitelist()