From d47562af6fe35ffafb914521a3a643d0338b8520 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 27 Jan 2012 14:35:08 +0100 Subject: [PATCH] [REM] completion in Gantt chart tasks and projects, not supported by OpenERP and misleading/incorrect information should not be displayed lp bug: https://launchpad.net/bugs/908764 fixed bzr revid: xmo@openerp.com-20120127133508-wngtl9ezi6km85mp --- .../web_gantt/static/lib/dhtmlxGantt/sources/dhtmlxgantt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web_gantt/static/lib/dhtmlxGantt/sources/dhtmlxgantt.js b/addons/web_gantt/static/lib/dhtmlxGantt/sources/dhtmlxgantt.js index 52b9b562e96..9d8b0db2252 100644 --- a/addons/web_gantt/static/lib/dhtmlxGantt/sources/dhtmlxgantt.js +++ b/addons/web_gantt/static/lib/dhtmlxGantt/sources/dhtmlxgantt.js @@ -3141,7 +3141,7 @@ GanttTask.prototype.getPopUpInfo = function(object, event) tblInfo.rows[0].cells[0].innerHTML = "
" + this.TaskInfo.Name + "
"; tblInfo.rows[0].cells[0].innerHTML += "EST: " + this.TaskInfo.EST.getDate() + "." + (this.TaskInfo.EST.getMonth() + 1) + "." + this.TaskInfo.EST.getFullYear() + "
"; tblInfo.rows[0].cells[0].innerHTML += "Duration: " + this.TaskInfo.Duration + " hours
"; - tblInfo.rows[0].cells[0].innerHTML += "Percent Complete: " + this.TaskInfo.PercentCompleted + "%
"; + // tblInfo.rows[0].cells[0].innerHTML += "Percent Complete: " + this.TaskInfo.PercentCompleted + "%
"; //show predecessor task if (this.predTask) @@ -3805,7 +3805,7 @@ GanttProject.prototype.getPopUpInfo = function(object, event) tblInfo.rows[0].cells[0].innerHTML = "
" + this.Project.Name + "
"; tblInfo.rows[0].cells[0].innerHTML += "Start Date: " + this.Project.StartDate.getDate() + "." + (this.Project.StartDate.getMonth() + 1) + "." + this.Project.StartDate.getFullYear() + "
"; tblInfo.rows[0].cells[0].innerHTML += "Duration: " + this.Duration + " hours
"; - tblInfo.rows[0].cells[0].innerHTML += "Percent Complete: " + this.percentCompleted + "%
"; + // tblInfo.rows[0].cells[0].innerHTML += "Percent Complete: " + this.percentCompleted + "%
"; this.Chart.divInfo.style.cssText = "z-index:2;position: absolute;display: inline;";