mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
started fresh install and added country_info
This commit is contained in:
12
patches/january_2013/change_patch_structure.py
Normal file
12
patches/january_2013/change_patch_structure.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
webnotes.reload_doc("core", "doctype", "patch_log")
|
||||
for d in webnotes.conn.sql("""select patch from __PatchLog"""):
|
||||
webnotes.doc({
|
||||
"doctype": "Patch Log",
|
||||
"patch": d[0]
|
||||
}).insert()
|
||||
|
||||
webnotes.conn.commit()
|
||||
webnotes.conn.sql("drop table __PatchLog")
|
||||
Reference in New Issue
Block a user