Rushabh Mehta vor 7 Jahren
Ursprung
Commit
b4001046d5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      frappe/custom/doctype/customize_form/customize_form.py

+ 1
- 1
frappe/custom/doctype/customize_form/customize_form.py Datei anzeigen

@@ -108,7 +108,7 @@ class CustomizeForm(Document):
'''Create, update custom translation for this doctype'''
current = self.get_name_translation()
if current:
if self.label and current!=self.label:
if self.label and current.target_name != self.label:
frappe.db.set_value('Translation', current.name, 'target_name', self.label)
frappe.translate.clear_cache()
else:


Laden…
Abbrechen
Speichern