Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
anoopmb
/
frappe
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
[fix] sync portal_settings
version-14
Rushabh Mehta
hace 8 años
padre
50d6049f54
commit
fc5308d5c3
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
frappe/website/doctype/portal_settings/portal_settings.py
+ 1
- 1
frappe/website/doctype/portal_settings/portal_settings.py
Ver fichero
@@ -14,7 +14,7 @@ class PortalSettings(Document):
if exists[0].role != item.get('role'):
exists[0].role = item.get('role')
return True
el
se
:
el
if not exists
:
item['enabled'] = 1
self.append('menu', item)
return True
Escribir
Vista previa
Cargando…
Cancelar
Guardar