[Patch] Check table exist
This commit is contained in:
parent
bb2bceef62
commit
86f143863f
@ -2,6 +2,7 @@ from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
if frappe.db.table_exists("Time Log"):
|
||||
timesheet = frappe.db.sql("""select tl.employee as employee, ts.name as name,
|
||||
tl.modified as modified, tl.modified_by as modified_by, tl.creation as creation, tl.owner as owner
|
||||
from
|
||||
|
Loading…
x
Reference in New Issue
Block a user