mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
fixes in cform
This commit is contained in:
6
patches/march_2013/p01_c_form.py
Normal file
6
patches/march_2013/p01_c_form.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
for cform in webnotes.conn.sql("""select name from `tabC-Form` where docstatus=2"""):
|
||||
webnotes.conn.sql("""update `tabSales Invoice` set c_form_no=null
|
||||
where c_form_no=%s""", cform[0])
|
||||
Reference in New Issue
Block a user