Procházet zdrojové kódy

[fix] patch

version-14
Rushabh Mehta před 8 roky
rodič
revize
06f1eeff35
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      frappe/patches/v8_1/delete_custom_docperm_if_doctype_not_exists.py

+ 1
- 1
frappe/patches/v8_1/delete_custom_docperm_if_doctype_not_exists.py Zobrazit soubor

@@ -3,5 +3,5 @@ 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` )
and parent not in ( select name from `tabCustom DocType` )
""")

Načítá se…
Zrušit
Uložit