reload mappers related to Material Request

This commit is contained in:
Anand Doshi 2013-02-21 13:38:58 +05:30
parent 05f35b723d
commit a341af182d
3 changed files with 8 additions and 1 deletions

View File

@ -19,5 +19,4 @@ def execute():
os.system("rm -rf app/hr/doctype/holiday_block_list") os.system("rm -rf app/hr/doctype/holiday_block_list")
os.system("rm -rf app/hr/doctype/holiday_block_list_allow") os.system("rm -rf app/hr/doctype/holiday_block_list_allow")
os.system("rm -rf app/hr/doctype/holiday_block_list_date") os.system("rm -rf app/hr/doctype/holiday_block_list_date")

View File

@ -0,0 +1,7 @@
import webnotes
def execute():
webnotes.reload_doc("buying", "DocType Mapper", "Material Request-Purchase Order")
webnotes.reload_doc("buying", "DocType Mapper", "Material Request-Supplier Quotation")
webnotes.reload_doc("buying", "DocType Mapper", "Sales Order-Material Request")
webnotes.reload_doc("stock", "DocType Mapper", "Material Request-Stock Entry")

View File

@ -185,4 +185,5 @@ patch_list = [
"execute:webnotes.delete_doc('DocType', 'Service Quotation')", "execute:webnotes.delete_doc('DocType', 'Service Quotation')",
"execute:webnotes.delete_doc('DocType', 'Service Order Detail')", "execute:webnotes.delete_doc('DocType', 'Service Order Detail')",
"execute:webnotes.delete_doc('DocType', 'Service Quotation Detail')", "execute:webnotes.delete_doc('DocType', 'Service Quotation Detail')",
"patches.february_2013.p06_material_request_mappers",
] ]