Update supplier_scorecard.py (#20061)
This commit is contained in:
parent
f5bd920e8f
commit
818c49279c
@ -138,7 +138,7 @@ def refresh_scorecards():
|
|||||||
# Check to see if any new scorecard periods are created
|
# Check to see if any new scorecard periods are created
|
||||||
if make_all_scorecards(sc.name) > 0:
|
if make_all_scorecards(sc.name) > 0:
|
||||||
# Save the scorecard to update the score and standings
|
# Save the scorecard to update the score and standings
|
||||||
sc.save()
|
frappe.get_doc('Supplier Scorecard', sc.name).save()
|
||||||
|
|
||||||
|
|
||||||
@frappe.whitelist()
|
@frappe.whitelist()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user