Patch to change allocated_to options to 'Profile'
This commit is contained in:
14
erpnext/patches/jan_mar_2012/allocated_to_profile.py
Normal file
14
erpnext/patches/jan_mar_2012/allocated_to_profile.py
Normal file
@@ -0,0 +1,14 @@
|
||||
def execute():
|
||||
"""
|
||||
Changes allocated_to option to Profile in
|
||||
DocType Customer Issue
|
||||
"""
|
||||
import webnotes
|
||||
webnotes.conn.sql("""
|
||||
UPDATE `tabDocField`
|
||||
SET options='Profile'
|
||||
WHERE fieldname='allocated_to'
|
||||
""")
|
||||
|
||||
from webnotes.modules.module_manager import reload_doc
|
||||
reload_doc('support', 'doctype', 'customer_issue')
|
||||
Reference in New Issue
Block a user