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_allow")
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")