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,4 @@
def execute():
import webnotes
webnotes.conn.sql("""delete from `tabDocPerm` where parent = 'BOM Replace Tool'""")
webnotes.reload_doc("manufacturing", "doctype", "bom_replace_tool")