Explorar el Código

[fix] change data property in _dashboard.py files to get_data to make it translate friendly

version-14
Rushabh Mehta hace 8 años
padre
commit
9789da957e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      frappe/model/meta.py

+ 1
- 1
frappe/model/meta.py Ver fichero

@@ -270,7 +270,7 @@ class Meta(Document):
`[doctype]_dashboard.py` file in the doctype folder'''
try:
module = load_doctype_module(self.name, suffix='_dashboard')
data = frappe._dict(module.data)
data = frappe._dict(module.get_data())
except ImportError:
data = frappe._dict()



Cargando…
Cancelar
Guardar