brotherton-erpnext/patches/february_2013/remove_gl_mapper.py

4 lines
150 B
Python
Raw Normal View History

def execute():
import webnotes
for mapper in webnotes.conn.sql("""select name from `tabGL Mapper`"""):
2013-02-01 07:08:15 +00:00
webnotes.delete_doc("GL Mapper", mapper[0])