mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 06:48:31 +00:00
fixes for material request
This commit is contained in:
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'""")
|
||||
Reference in New Issue
Block a user