fixes for material request

This commit is contained in:
Nabin Hait 2013-03-01 11:05:57 +05:30
parent a9afc254bc
commit 5657cd775f
2 changed files with 6 additions and 0 deletions

View File

View File

@ -0,0 +1,6 @@
import webnotes
def execute():
webnotes.conn.sql("""update `tabPurchase Order Item` set prevdoc_doctype = 'Material Request'
where prevdoc_doctype = 'Purchase Request'""")
webnotes.conn.sql("""update `tabSupplier Quotation Item`
set prevdoc_doctype = 'Material Request' where prevdoc_doctype = 'Purchase Request'""")