[fix] task visibility fix #5601

This commit is contained in:
Saurabh 2016-07-05 18:58:16 +05:30
parent 70a1ddb6a1
commit 838dd6c530

View File

@ -15,7 +15,7 @@ class Project(Document):
def onload(self):
"""Load project tasks for quick view"""
if not self.get('__unsaved') and not self.get("tasks"):
if not self.get("tasks"):
self.load_tasks()
self.set_onload('activity_summary', frappe.db.sql('''select activity_type, sum(hours) as total_hours