permission reloaded for bom replace tool

This commit is contained in:
Nabin Hait
2013-02-01 12:14:45 +05:30
parent c063e653a9
commit ce4178b180
5 changed files with 44 additions and 32 deletions

View 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])