Commit 065baacb authored by Thibaut Deheunynck's avatar Thibaut Deheunynck

2008-09-11 thibaut

remove log and add comment

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23572 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a75f1e63
...@@ -239,6 +239,12 @@ return domain_list\n ...@@ -239,6 +239,12 @@ return domain_list\n
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Project_generateMonthDomain</string> </value> <value> <string>Project_generateMonthDomain</string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>warnings</string> </key> <key> <string>warnings</string> </key>
<value> <value>
......
...@@ -65,7 +65,10 @@ ...@@ -65,7 +65,10 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>object_domain = selection_report.asDomainItemDict()[\'project_report_monthly_domain\']\n <value> <string># This script is called by each line of the domain in order to know if returned objects\n
#by the domain have the same property than returned objects\n
\n
object_domain = selection_report.asDomainItemDict()[\'project_report_monthly_domain\']\n
object_dict = context.object_dict\n object_dict = context.object_dict\n
\n \n
current_criterion = object_domain.getCriterionList()\n current_criterion = object_domain.getCriterionList()\n
...@@ -75,7 +78,6 @@ result_list = []\n ...@@ -75,7 +78,6 @@ result_list = []\n
if returned_object is not None:\n if returned_object is not None:\n
for k,v in returned_object.items():\n for k,v in returned_object.items():\n
if object_domain.test(v, strict_membership=1):\n if object_domain.test(v, strict_membership=1):\n
context.log(\'show dict temp object\',v.showDict())\n
result_list.append(v)\n result_list.append(v)\n
\n \n
return result_list\n return result_list\n
...@@ -168,6 +170,12 @@ return result_list\n ...@@ -168,6 +170,12 @@ return result_list\n
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Project_getMonthlyObjectList</string> </value> <value> <string>Project_getMonthlyObjectList</string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>warnings</string> </key> <key> <string>warnings</string> </key>
<value> <value>
......
...@@ -159,7 +159,7 @@ for task_line in task_line_list:\n ...@@ -159,7 +159,7 @@ for task_line in task_line_list:\n
object_quantity = current_month_quantity + current_temp_object.getProperty(source, 0)\n object_quantity = current_month_quantity + current_temp_object.getProperty(source, 0)\n
current_temp_object.setProperty(source, object_quantity)\n current_temp_object.setProperty(source, object_quantity)\n
timekeeper = next_timekeeper\n timekeeper = next_timekeeper\n
context.log(\'next_timekeeper\', next_timekeeper)\n \n
\n \n
column_list.extend(worker_column_list)\n column_list.extend(worker_column_list)\n
context = context.asContext(object_dict = object_dict,\n context = context.asContext(object_dict = object_dict,\n
...@@ -279,6 +279,12 @@ return context.Project_viewODSMonthlyReport()\n ...@@ -279,6 +279,12 @@ return context.Project_viewODSMonthlyReport()\n
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Project_printAsODSMonthly</string> </value> <value> <string>Project_printAsODSMonthly</string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>warnings</string> </key> <key> <string>warnings</string> </key>
<value> <value>
......
591 594
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment