Skip to content

Commit

Permalink
fix: Refine supplier scorecard standings. (#36414)
Browse files Browse the repository at this point in the history
Co-authored-by: Bernd Oliver Sünderhauf <pancho@mailbox.org>
  • Loading branch information
bosue and Bernd Oliver Sünderhauf authored Aug 5, 2023
1 parent 93767eb commit 5435c64
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions erpnext/buying/doctype/supplier_scorecard/supplier_scorecard.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,39 +339,47 @@ def make_default_records():
{
"min_grade": 0.0,
"prevent_rfqs": 1,
"warn_rfqs": 0,
"notify_supplier": 0,
"max_grade": 30.0,
"prevent_pos": 1,
"warn_pos": 0,
"standing_color": "Red",
"notify_employee": 0,
"standing_name": "Very Poor",
},
{
"min_grade": 30.0,
"prevent_rfqs": 1,
"prevent_rfqs": 0,
"warn_rfqs": 1,
"notify_supplier": 0,
"max_grade": 50.0,
"prevent_pos": 0,
"standing_color": "Red",
"warn_pos": 1,
"standing_color": "Yellow",
"notify_employee": 0,
"standing_name": "Poor",
},
{
"min_grade": 50.0,
"prevent_rfqs": 0,
"warn_rfqs": 0,
"notify_supplier": 0,
"max_grade": 80.0,
"prevent_pos": 0,
"warn_pos": 0,
"standing_color": "Green",
"notify_employee": 0,
"standing_name": "Average",
},
{
"min_grade": 80.0,
"prevent_rfqs": 0,
"warn_rfqs": 0,
"notify_supplier": 0,
"max_grade": 100.0,
"prevent_pos": 0,
"warn_pos": 0,
"standing_color": "Blue",
"notify_employee": 0,
"standing_name": "Excellent",
Expand Down

0 comments on commit 5435c64

Please sign in to comment.