fixes for material request
This commit is contained in:
parent
a9afc254bc
commit
5657cd775f
0
patches/march_2013/__init__.py
Normal file
0
patches/march_2013/__init__.py
Normal file
6
patches/march_2013/update_po_prevdoc_doctype.py
Normal file
6
patches/march_2013/update_po_prevdoc_doctype.py
Normal 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'""")
|
Loading…
x
Reference in New Issue
Block a user