mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 05:09:11 +00:00
[cleanup] deprecated search criteria, amendment_date, cancel_reason
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
webnotes.conn.sql("""delete from `tabSearch Criteria` \
|
||||
where name = 'customer_address_contact'""")
|
||||
|
||||
webnotes.reload_doc("core", "doctype", "docfield")
|
||||
webnotes.reload_doc("core", "doctype", "report")
|
||||
webnotes.reload_doc('selling', 'report', 'customer_addresses_and_contacts')
|
||||
@@ -1,6 +0,0 @@
|
||||
from __future__ import unicode_literals
|
||||
from webnotes.model import delete_doc
|
||||
|
||||
def execute():
|
||||
# remove search criteria
|
||||
delete_doc("Search Criteria", "trial_balance")
|
||||
Reference in New Issue
Block a user