fixes in patch
This commit is contained in:
parent
79b8ca8f68
commit
7e0b9a4212
@ -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)
|
Loading…
Reference in New Issue
Block a user