Update supplier_scorecard.py (#20061)

This commit is contained in:
RJPvT 2019-12-24 07:54:58 +01:00 committed by Nabin Hait
parent f5bd920e8f
commit 818c49279c

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()