mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
[mappers] cleanup, remove dt_map, map_doclist and other such functions
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
import webnotes
|
||||
def execute():
|
||||
for m in webnotes.conn.sql("select name from `tabDocType Mapper`"):
|
||||
webnotes.delete_doc("DocType Mapper", m[0])
|
||||
webnotes.conn.sql("""drop table if exists `tabDocType Mapper`""")
|
||||
webnotes.conn.sql("""drop table if exists `tabTable Mapper Detail`""")
|
||||
webnotes.conn.sql("""drop table if exists `tabField Mapper Detail`""")
|
||||
webnotes.delete_doc("DocType", "DocType Mapper")
|
||||
webnotes.delete_doc("DocType", "Table Mapper Detail")
|
||||
webnotes.delete_doc("DocType", "Field Mapper Detail")
|
||||
Reference in New Issue
Block a user