mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
fixes in patch
This commit is contained in:
@@ -7,5 +7,6 @@ def execute():
|
||||
`tabLeave Application`.employee = `tabEmployee`.name""")
|
||||
|
||||
company = webnotes.conn.get_default("company")
|
||||
webnotes.conn.sql("""update `tabLeave Application`
|
||||
set company = %s where ifnull(company,'')=''""", company)
|
||||
if company:
|
||||
webnotes.conn.sql("""update `tabLeave Application`
|
||||
set company = %s where ifnull(company,'')=''""", company)
|
||||
Reference in New Issue
Block a user