brotherton-erpnext/patches/february_2013/remove_gl_mapper.py
2013-02-01 12:38:15 +05:30

4 lines
150 B
Python

def execute():
import webnotes
for mapper in webnotes.conn.sql("""select name from `tabGL Mapper`"""):
webnotes.delete_doc("GL Mapper", mapper[0])