[Erp5-report] r32135 jp - /erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_p...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 1 13:10:47 CET 2010


Author: jp
Date: Mon Feb  1 13:10:46 2010
New Revision: 32135

URL: http://svn.erp5.org?rev=32135&view=rev
Log:
This relation field is not appropriate because what it displays is not what is searched. However, it is useful for find requirements and display which requirement document they belong to. The right approach should be 1- to use reference relation field to search for requirements 2- to allow search a reference by using a title 3- to display some more informaion in listfield which appears in relation field 4- to display related requirements in listbox.

Modified:
    erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ProjectLine_view/my_requirement_logical_path_list.xml

Modified: erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ProjectLine_view/my_requirement_logical_path_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ProjectLine_view/my_requirement_logical_path_list.xml?rev=32135&r1=32134&r2=32135&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ProjectLine_view/my_requirement_logical_path_list.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ProjectLine_view/my_requirement_logical_path_list.xml [utf8] Mon Feb  1 13:10:46 2010
@@ -12,7 +12,9 @@
         <item>
             <key> <string>delegated_list</string> </key>
             <value>
-              <list/>
+              <list>
+                <string>columns</string>
+              </list>
             </value>
         </item>
         <item>
@@ -73,6 +75,33 @@
             <value>
               <dictionary>
                 <item>
+                    <key> <string>columns</string> </key>
+                    <value>
+                      <list>
+                        <tuple>
+                          <string>int_index</string>
+                          <string>Index</string>
+                        </tuple>
+                        <tuple>
+                          <string>reference</string>
+                          <string>Reference</string>
+                        </tuple>
+                        <tuple>
+                          <string>title</string>
+                          <string>Title</string>
+                        </tuple>
+                        <tuple>
+                          <string>description</string>
+                          <string>Description</string>
+                        </tuple>
+                        <tuple>
+                          <string>comment</string>
+                          <string>Comment</string>
+                        </tuple>
+                      </list>
+                    </value>
+                </item>
+                <item>
                     <key> <string>field_id</string> </key>
                     <value> <string>my_requirement_logical_path_list</string> </value>
                 </item>




More information about the Erp5-report mailing list