Parcourir la source

fix: use format string

Co-authored-by: Himanshu <himanshuwarekar@yahoo.com>
version-14
Raffael Meyer il y a 3 ans
committed by GitHub
Parent
révision
07ae6855c3
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      frappe/desk/reportview.py

+ 1
- 1
frappe/desk/reportview.py Voir le fichier

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


labels.append(label) labels.append(label)




Chargement…
Annuler
Enregistrer