mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-30 20:18:27 +00:00
6 lines
222 B
Python
6 lines
222 B
Python
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]) |