mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 15:00:27 +00:00
moved directory structure
This commit is contained in:
9
patches/mar_2012/delete_docformat.py
Normal file
9
patches/mar_2012/delete_docformat.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from __future__ import unicode_literals
|
||||
def execute():
|
||||
import webnotes
|
||||
webnotes.conn.sql("DELETE FROM `tabDocField` WHERE options='DocFormat'")
|
||||
webnotes.conn.sql("DELETE FROM `tabDocField` WHERE parent='DocFormat'")
|
||||
webnotes.conn.sql("DELETE FROM `tabDocType` WHERE name='DocFormat'")
|
||||
webnotes.conn.commit()
|
||||
webnotes.conn.sql("DROP TABLE `tabDocFormat`")
|
||||
webnotes.conn.begin()
|
||||
Reference in New Issue
Block a user