2011-11-17 09:30:55 +00:00
|
|
|
def execute():
|
|
|
|
import webnotes
|
|
|
|
from webnotes.modules.module_manager import reload_doc
|
2011-11-17 09:33:05 +00:00
|
|
|
|
2011-11-17 11:29:29 +00:00
|
|
|
|
2011-11-17 09:30:55 +00:00
|
|
|
reload_doc('stock', 'doctype', 'landed_cost_wizard')
|
|
|
|
reload_doc('stock', 'doctype', 'lc_pr_detail')
|
|
|
|
|
2011-11-17 09:33:05 +00:00
|
|
|
webnotes.conn.sql("delete from `tabDocField` where parent ='LC PR Detail' and fieldname in ('purchase_receipt_no', 'include_in_landed_cost')")
|