Merge fixes: removed patches, removed Warehouse User

This commit is contained in:
Anand Doshi
2013-12-27 17:57:28 +05:30
parent 61bf425935
commit 0663ec4a9c
2 changed files with 4 additions and 19 deletions

View File

@@ -8,5 +8,6 @@ def execute():
from webnotes.core.page.user_properties import user_properties
for warehouse, profile in webnotes.conn.sql("""select parent, user from `tabWarehouse User`"""):
user_properties.add(profile, "Warehouse", warehouse)
webnotes.delete_doc("DocType", "Warehouse User")
webnotes.delete_doc("DocType", "Warehouse User")
webnotes.reload_doc("stock", "doctype", "warehouse")