mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
permission reloaded for bom replace tool
This commit is contained in:
0
patches/february_2013/__init__.py
Normal file
0
patches/february_2013/__init__.py
Normal 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")
|
||||
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])
|
||||
@@ -160,4 +160,6 @@ patch_list = [
|
||||
"patches.january_2013.rebuild_tree",
|
||||
"execute:webnotes.reload_doc('core','doctype','docfield') #2013-01-28",
|
||||
"patches.january_2013.tabsessions_to_myisam",
|
||||
"patches.february_2013.remove_gl_mapper",
|
||||
"patches.february_2013.reload_bom_replace_tool_permission",
|
||||
]
|
||||
Reference in New Issue
Block a user