Show original field names in biz-state workbook headers.

Stop using Chinese display_name for metric sheet columns so headers match the raw field keys.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-20 11:25:06 +08:00
parent ee375b144d
commit b6eab3ed8f
3 changed files with 24 additions and 2 deletions

View file

@ -742,7 +742,7 @@ def list_batch_metric_rows(
columns = [
{
"key": f.name,
"header": f.display_name or f.name,
"header": f.name, # strict original field name (no display_name localization)
"role": f.role,
"is_key": bool(f.is_key),
}