mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12:51 +00:00
fix in setup control and patch to fix existing docstatus problem
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import webnotes
|
||||
def execute():
|
||||
webnotes.conn.sql("""update `tabCompany` set docstatus = 0
|
||||
where docstatus is null""")
|
||||
|
||||
webnotes.conn.sql("""update `tabFiscal Year` set docstatus = 0
|
||||
where docstatus is null""")
|
||||
Reference in New Issue
Block a user