Przeglądaj źródła

fix: use format string

Co-authored-by: Himanshu <himanshuwarekar@yahoo.com>
version-14
Raffael Meyer 3 lat temu
committed by GitHub
rodzic
commit
07ae6855c3
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      frappe/desk/reportview.py

+ 1
- 1
frappe/desk/reportview.py Wyświetl plik

@@ -381,7 +381,7 @@ def get_labels(fields, doctype):
if parenttype != doctype:
# If the column is from a child table, append the child doctype.
# For example, "Item Code (Sales Invoice Item)".
label += " (" + _(parenttype) + ")"
label += f" ({ _(parenttype) })"

labels.append(label)



Ładowanie…
Anuluj
Zapisz