2012-07-19 08:10:31 +00:00
|
|
|
from __future__ import unicode_literals
|
2012-05-17 12:42:32 +00:00
|
|
|
def execute():
|
|
|
|
import webnotes
|
|
|
|
from webnotes.model import delete_doc
|
|
|
|
delete_doc("Search Criteria", "sales_order_pending_items1")
|
|
|
|
|
2012-05-18 05:37:04 +00:00
|
|
|
webnotes.conn.sql("update `tabSearch Criteria` set module = 'Selling' where module = 'CRM'")
|
2012-05-17 12:42:32 +00:00
|
|
|
from webnotes.modules import reload_doc
|
|
|
|
reload_doc('selling', 'search_criteria', 'sales_order_pending_items')
|