diff --git a/patches/1311/p01_cleanup.py b/patches/1311/p01_cleanup.py index c6d4c01b241..e4953e62bd7 100644 --- a/patches/1311/p01_cleanup.py +++ b/patches/1311/p01_cleanup.py @@ -4,7 +4,9 @@ def execute(): webnotes.reload_doc("stock", "doctype", "material_request") webnotes.reload_doc("buying", "doctype", "purchase_order") webnotes.reload_doc("selling", "doctype", "lead") + from core.doctype.custom_field.custom_field import create_custom_field_if_values_exist + create_custom_field_if_values_exist("Material Request", {"fieldtype":"Text", "fieldname":"remark", "label":"Remarks","insert_after":"Fiscal Year"}) create_custom_field_if_values_exist("Purchase Order", diff --git a/patches/patch_list.py b/patches/patch_list.py index 80e3bcf92d5..5227118ac3a 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -238,5 +238,7 @@ patch_list = [ "patches.october_2013.p08_cleanup_after_item_price_module_change", "patches.october_2013.p10_plugins_refactor", "patches.1311.p01_cleanup", + "execute:webnotes.reload_doc('website', 'doctype', 'table_of_contents') #2013-11-13", + "execute:webnotes.reload_doc('website', 'doctype', 'web_page') #2013-11-13", "execute:webnotes.bean('Style Settings').save() #2013-11-13", ] \ No newline at end of file