Explorar el Código

Merge pull request #17802 from frappe/mergify/bp/version-14-hotfix/pr-17801

fix: init only existing single doctypes (backport #17801)
version-14
Ankush Menat hace 2 años
committed by GitHub
padre
commit
e44d66c015
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      frappe/installer.py

+ 1
- 1
frappe/installer.py Ver fichero

@@ -493,7 +493,7 @@ def init_singles():
doc.flags.ignore_mandatory = True
doc.flags.ignore_validate = True
doc.save()
except ImportError:
except (ImportError, frappe.DoesNotExistError):
# The doctype exists, but controller is deleted,
# no need to attempt to init such single, ref: #16917
continue


Cargando…
Cancelar
Guardar