commit | 818c49279c5230770fdac5691f5bfb5e8ee5237b | [log] [tgz] |
---|---|---|
author | RJPvT <48353029+RJPvT@users.noreply.github.com> | Tue Dec 24 07:54:58 2019 +0100 |
committer | Nabin Hait <nabinhait@gmail.com> | Tue Dec 24 12:24:58 2019 +0530 |
tree | eb9b2d48429dc823bd759f793dc494949afa691f | |
parent | f5bd920e8fb4fdb7343b51e59e38533d8cc8870f [diff] |
Update supplier_scorecard.py (#20061)
diff --git a/erpnext/buying/doctype/supplier_scorecard/supplier_scorecard.py b/erpnext/buying/doctype/supplier_scorecard/supplier_scorecard.py index 9e201e3..af109ba 100644 --- a/erpnext/buying/doctype/supplier_scorecard/supplier_scorecard.py +++ b/erpnext/buying/doctype/supplier_scorecard/supplier_scorecard.py
@@ -138,7 +138,7 @@ # 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()