fix: Refine supplier scorecard standings. (#36414)

Co-authored-by: Bernd Oliver Sünderhauf <pancho@mailbox.org>
This commit is contained in:
Bernd Oliver Sünderhauf 2023-08-05 19:43:14 +02:00 committed by GitHub
parent 93767eb7fc
commit 5435c641a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -339,29 +339,35 @@ 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",
@ -369,9 +375,11 @@ def make_default_records():
{
"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",