mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +00:00
[patch] [fix]
This commit is contained in:
@@ -3,10 +3,10 @@ import webnotes, os, sys
|
|||||||
def execute():
|
def execute():
|
||||||
webnotes.reload_doc("core", "doctype", "doctype")
|
webnotes.reload_doc("core", "doctype", "doctype")
|
||||||
|
|
||||||
tables = webnotes.conn.sql_list("sthow tables")
|
tables = webnotes.conn.sql_list("show tables")
|
||||||
if not "Material Request Item" in tables:
|
if not "tabMaterial Request Item" in tables:
|
||||||
webnotes.rename_doc("DocType", "Purchase Request Item", "Material Request Item", force=True)
|
webnotes.rename_doc("DocType", "Purchase Request Item", "Material Request Item", force=True)
|
||||||
if not "Material Request" in tables:
|
if not "tabMaterial Request" in tables:
|
||||||
webnotes.rename_doc("DocType", "Purchase Request", "Material Request", force=True)
|
webnotes.rename_doc("DocType", "Purchase Request", "Material Request", force=True)
|
||||||
webnotes.reload_doc("buying", "search_criteria", "pending_po_items_to_bill")
|
webnotes.reload_doc("buying", "search_criteria", "pending_po_items_to_bill")
|
||||||
webnotes.reload_doc("buying", "search_criteria", "pending_po_items_to_receive")
|
webnotes.reload_doc("buying", "search_criteria", "pending_po_items_to_receive")
|
||||||
|
|||||||
@@ -216,6 +216,7 @@ patch_list = [
|
|||||||
"patches.march_2013.p06_remove_sales_purchase_return_tool",
|
"patches.march_2013.p06_remove_sales_purchase_return_tool",
|
||||||
"execute:webnotes.bean('Global Defaults').save()",
|
"execute:webnotes.bean('Global Defaults').save()",
|
||||||
"patches.march_2013.p07_update_project_in_stock_ledger",
|
"patches.march_2013.p07_update_project_in_stock_ledger",
|
||||||
|
"execute:webnotes.reload_doc('setup', 'doctype', 'item_group') #2013-03-25",
|
||||||
"execute:webnotes.bean('Style Settings').save() #2013-03-25",
|
"execute:webnotes.bean('Style Settings').save() #2013-03-25",
|
||||||
"execute:webnotes.conn.set_value('Email Settings', None, 'send_print_in_body_and_attachment', 1)",
|
"execute:webnotes.conn.set_value('Email Settings', None, 'send_print_in_body_and_attachment', 1)",
|
||||||
"patches.march_2013.p09_unset_user_type_partner",
|
"patches.march_2013.p09_unset_user_type_partner",
|
||||||
|
|||||||
Reference in New Issue
Block a user