mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
permission reloaded for bom replace tool
This commit is contained in:
5
patches/february_2013/remove_gl_mapper.py
Normal file
5
patches/february_2013/remove_gl_mapper.py
Normal file
@@ -0,0 +1,5 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
from webnotes.model.doc import delete_doc
|
||||
for mapper in webnotes.conn.sql("""select name from `tabGL Mapper`"""):
|
||||
delete_doc("GL Mapper", mapper[0])
|
||||
Reference in New Issue
Block a user