[FIX] All event have no start date then set project start date with today date.

bzr revid: cpa@tinyerp.com-20110608060920-sek3y9a3ep2svexu
This commit is contained in:
cpa-openerp
2011-06-08 11:39:20 +05:30
parent 2ac53360ce
commit d95ce66175
+5 -2
View File
@@ -116,8 +116,11 @@ init: function(view_manager, session, element_id, dataset, view_id) {
}
}
}
project = new GanttProjectInfo(1, self.name, smalldate);
ganttChartControl.addProject(project);
if (smalldate == ""){
smalldate = Date.today();
}
project = new GanttProjectInfo(1, self.name, smalldate);
ganttChartControl.addProject(project);
}
//create child