Rushabh Mehta 8 роки тому
джерело
коміт
4d9d66d916
1 змінених файлів з 0 додано та 1 видалено
  1. +0
    -1
      frappe/patches/v8_1/delete_custom_docperm_if_doctype_not_exists.py

+ 0
- 1
frappe/patches/v8_1/delete_custom_docperm_if_doctype_not_exists.py Переглянути файл

@@ -3,5 +3,4 @@ import frappe
def execute():
frappe.db.sql("""delete from `tabCustom DocPerm`
where parent not in ( select name from `tabDocType` )
and parent not in ( select name from `tabCustom DocType` )
""")

Завантаження…
Відмінити
Зберегти