From 2fdeb9f7b6a0262e1e8311c2a061a8c21b634827 Mon Sep 17 00:00:00 2001
From: Rafael Monnerat <rafael@nexedi.com>
Date: Tue, 25 Sep 2007 06:34:05 +0000
Subject: [PATCH] Improved Planning box at TaskReport Module

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16599 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../TaskReportModule_viewPlanningReport.xml   |  14 +-
 .../planning_box.xml                          | 128 +++++++++++++++++-
 bt5/erp5_project/bt/revision                  |   2 +-
 3 files changed, 135 insertions(+), 9 deletions(-)

diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_viewPlanningReport.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_viewPlanningReport.xml
index a6d96da1d9..48dca31663 100644
--- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_viewPlanningReport.xml
+++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_viewPlanningReport.xml
@@ -49,6 +49,10 @@
             <key> <string>action</string> </key>
             <value> <string></string> </value>
         </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
         <item>
             <key> <string>encoding</string> </key>
             <value> <string>UTF-8</string> </value>
@@ -90,7 +94,11 @@
         </item>
         <item>
             <key> <string>name</string> </key>
-            <value> <string>Task_viewDestinationReport</string> </value>
+            <value> <string>TaskReportModule_viewPlanningReport</string> </value>
+        </item>
+        <item>
+            <key> <string>pt</string> </key>
+            <value> <string>form_dialog</string> </value>
         </item>
         <item>
             <key> <string>row_length</string> </key>
@@ -108,6 +116,10 @@
             <key> <string>unicode_mode</string> </key>
             <value> <int>0</int> </value>
         </item>
+        <item>
+            <key> <string>update_action</string> </key>
+            <value> <string></string> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_viewPlanningReport/planning_box.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_viewPlanningReport/planning_box.xml
index 997454b881..9626f03aa9 100644
--- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_viewPlanningReport/planning_box.xml
+++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/TaskReportModule_viewPlanningReport/planning_box.xml
@@ -373,6 +373,10 @@
                     <key> <string>alternate_name</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>calendar_view</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
                 <item>
                     <key> <string>color_script</string> </key>
                     <value> <string></string> </value>
@@ -389,6 +393,10 @@
                     <key> <string>default</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>delimiter</string> </key>
+                    <value> <int>5</int> </value>
+                </item>
                 <item>
                     <key> <string>description</string> </key>
                     <value> <string></string> </value>
@@ -433,6 +441,10 @@
                     <key> <string>info_center</string> </key>
                     <value> <string>getTitle</string> </value>
                 </item>
+                <item>
+                    <key> <string>info_tooltip</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>info_topleft</string> </key>
                     <value> <string>getStartDate</string> </value>
@@ -441,12 +453,20 @@
                     <key> <string>info_topright</string> </key>
                     <value> <string>getStopDate</string> </value>
                 </item>
+                <item>
+                    <key> <string>js_enabled</string> </key>
+                    <value> <int>1</int> </value>
+                </item>
                 <item>
                     <key> <string>list_method</string> </key>
                     <value>
                       <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
                     </value>
                 </item>
+                <item>
+                    <key> <string>main_axis_groups</string> </key>
+                    <value> <int>10</int> </value>
+                </item>
                 <item>
                     <key> <string>max_y</string> </key>
                     <value> <string></string> </value>
@@ -460,7 +480,12 @@
                 <item>
                     <key> <string>portal_types</string> </key>
                     <value>
-                      <list/>
+                      <list>
+                        <tuple>
+                          <string>Task Report</string>
+                          <string>Task Report</string>
+                        </tuple>
+                      </list>
                     </value>
                 </item>
                 <item>
@@ -468,8 +493,8 @@
                     <value>
                       <list>
                         <tuple>
-                          <string>nexedi_staff</string>
-                          <string>Nexedi Staff</string>
+                          <string>parent</string>
+                          <string>parent</string>
                         </tuple>
                       </list>
                     </value>
@@ -478,6 +503,20 @@
                     <key> <string>required</string> </key>
                     <value> <int>0</int> </value>
                 </item>
+                <item>
+                    <key> <string>round_script</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>sec_axis_script</string> </key>
+                    <value> <string>Planning_generateDateZoomAxis</string> </value>
+                </item>
+                <item>
+                    <key> <string>second_layer_list_method</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                    </value>
+                </item>
                 <item>
                     <key> <string>security_index</string> </key>
                     <value> <int>2</int> </value>
@@ -486,6 +525,38 @@
                     <key> <string>selection_name</string> </key>
                     <value> <string>task_report_planning_selection</string> </value>
                 </item>
+                <item>
+                    <key> <string>size_border_width_left</string> </key>
+                    <value> <int>10</int> </value>
+                </item>
+                <item>
+                    <key> <string>size_header_height</string> </key>
+                    <value> <int>80</int> </value>
+                </item>
+                <item>
+                    <key> <string>size_planning_height</string> </key>
+                    <value> <int>800</int> </value>
+                </item>
+                <item>
+                    <key> <string>size_planning_width</string> </key>
+                    <value> <int>800</int> </value>
+                </item>
+                <item>
+                    <key> <string>size_x_axis_height</string> </key>
+                    <value> <int>50</int> </value>
+                </item>
+                <item>
+                    <key> <string>size_x_axis_space</string> </key>
+                    <value> <int>10</int> </value>
+                </item>
+                <item>
+                    <key> <string>size_y_axis_space</string> </key>
+                    <value> <int>10</int> </value>
+                </item>
+                <item>
+                    <key> <string>size_y_axis_width</string> </key>
+                    <value> <int>150</int> </value>
+                </item>
                 <item>
                     <key> <string>sort</string> </key>
                     <value>
@@ -496,14 +567,26 @@
                     <key> <string>space_line</string> </key>
                     <value> <int>10</int> </value>
                 </item>
+                <item>
+                    <key> <string>split_method</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>stat_method</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>planning_box</string> </value>
+                    <value> <string>Task Planning</string> </value>
                 </item>
                 <item>
                     <key> <string>title_line</string> </key>
                     <value> <string>getTitle</string> </value>
                 </item>
+                <item>
+                    <key> <string>use_date_zoom</string> </key>
+                    <value> <int>1</int> </value>
+                </item>
                 <item>
                     <key> <string>whitespace_preserve</string> </key>
                     <value> <int>0</int> </value>
@@ -512,6 +595,10 @@
                     <key> <string>width_line</string> </key>
                     <value> <int>1000</int> </value>
                 </item>
+                <item>
+                    <key> <string>x_axis_position</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
                 <item>
                     <key> <string>x_axis_script_id</string> </key>
                     <value> <string>genXaxis</string> </value>
@@ -522,16 +609,20 @@
                 </item>
                 <item>
                     <key> <string>x_start_bloc</string> </key>
-                    <value> <string>getStartDate</string> </value>
+                    <value> <string>start_date</string> </value>
                 </item>
                 <item>
                     <key> <string>x_stop_bloc</string> </key>
-                    <value> <string>getStopDate</string> </value>
+                    <value> <string>stop_date</string> </value>
                 </item>
                 <item>
                     <key> <string>y_axis_method</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>y_axis_position</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
                 <item>
                     <key> <string>y_axis_width</string> </key>
                     <value> <int>200</int> </value>
@@ -540,6 +631,10 @@
                     <key> <string>y_range</string> </key>
                     <value> <int>0</int> </value>
                 </item>
+                <item>
+                    <key> <string>y_size_block</string> </key>
+                    <value> <string>quantity</string> </value>
+                </item>
                 <item>
                     <key> <string>y_unity</string> </key>
                     <value> <string></string> </value>
@@ -564,7 +659,26 @@
       <dictionary>
         <item>
             <key> <string>method_name</string> </key>
-            <value> <string>Base_searchFolderTest</string> </value>
+            <value> <string>searchFolder</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.Formulator.MethodField</string>
+          <string>Method</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>method_name</string> </key>
+            <value> <string>getCausalityValueList</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision
index 3d9983adab..8c91667498 100644
--- a/bt5/erp5_project/bt/revision
+++ b/bt5/erp5_project/bt/revision
@@ -1 +1 @@
-295
\ No newline at end of file
+298
\ No newline at end of file
-- 
2.30.9