Merge branch 'hotfix'

This commit is contained in:
Nabin Hait 2016-09-07 17:20:14 +05:30
commit a8b8d81e2a
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
from __future__ import unicode_literals
import frappe
__version__ = '7.0.41'
__version__ = '7.0.42'
def get_default_company(user=None):
'''Get default company for user'''

View File

@ -7,7 +7,7 @@ def execute():
if not frappe.db.table_exists("Time Log"):
return
for data in frappe.db.sql("select * from `tabTime Log` where where docstatus < 2", as_dict=1):
for data in frappe.db.sql("select * from `tabTime Log` where docstatus < 2", as_dict=1):
if data.task:
company = frappe.db.get_value("Task", data.task, "company")
elif data.production_order: