[Erp5-report] r28188 - in /erp5/trunk/bt5/erp5_project: SkinTemplateItem/portal_skins/erp5_...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jul 28 13:05:59 CEST 2009


Author: seb
Date: Tue Jul 28 13:05:57 2009
New Revision: 28188

URL: http://svn.erp5.org?rev=28188&view=rev
Log:
2009-07-28 Seb
* remove useless lines in Project_getMonthlyReportSectionList

Modified:
    erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getMonthlyReportSectionList.xml
    erp5/trunk/bt5/erp5_project/bt/revision

Modified: erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getMonthlyReportSectionList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getMonthlyReportSectionList.xml?rev=28188&r1=28187&r2=28188&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getMonthlyReportSectionList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_getMonthlyReportSectionList.xml [utf8] Tue Jul 28 13:05:57 2009
@@ -100,13 +100,6 @@
   stop_date_task = task_line.getStopDate()\n
   year_start_date = start_date_task.year()\n
   month_start_date = start_date_task.month()\n
-  date_string = "%s-%s" % (year_start_date, month_start_date)\n
-  current_date = start_date_task\n
-  # We must initialize start_date at the beginning of the month\n
-  while current_date <= stop_date_task:\n
-    if date_string not in object_dict:\n
-      object_dict[date_string]={}\n
-    current_date += 1\n
 \n
   # create a list with people who works on the task\n
   current_column = (source, task_line.getSourceTitle())\n
@@ -243,10 +236,6 @@
                             <string>stop_date_task</string>
                             <string>year_start_date</string>
                             <string>month_start_date</string>
-                            <string>date_string</string>
-                            <string>current_date</string>
-                            <string>_write_</string>
-                            <string>_inplacevar_</string>
                             <string>current_column</string>
                             <string>project</string>
                             <string>quantity</string>
@@ -259,6 +248,7 @@
                             <string>quantity_dict</string>
                             <string>worker_quantity_dict</string>
                             <string>temp_object</string>
+                            <string>_write_</string>
                             <string>_getitem_</string>
                             <string>current_temp_object</string>
                             <string>min</string>

Modified: erp5/trunk/bt5/erp5_project/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_project/bt/revision?rev=28188&r1=28187&r2=28188&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_project/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_project/bt/revision [utf8] Tue Jul 28 13:05:57 2009
@@ -1,1 +1,1 @@
-655
+657




More information about the Erp5-report mailing list