[Erp5-report] r45609 jerome - in /erp5/trunk/bt5/erp5_base: SkinTemplateItem/portal_skins/e...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 21 15:10:18 CEST 2011


Author: jerome
Date: Thu Apr 21 15:10:17 2011
New Revision: 45609

URL: http://svn.erp5.org?rev=45609&view=rev
Log:
get this method from types tool, as solver types are not in types tool

Modified:
    erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/SolverType_view/my_type_class.xml
    erp5/trunk/bt5/erp5_base/bt/revision

Modified: erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/SolverType_view/my_type_class.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/SolverType_view/my_type_class.xml?rev=45609&r1=45608&r2=45609&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/SolverType_view/my_type_class.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/SolverType_view/my_type_class.xml [utf8] Thu Apr 21 15:10:17 2011
@@ -10,8 +10,8 @@
             <key> <string>delegated_list</string> </key>
             <value>
               <list>
-                <string>title</string>
                 <string>items</string>
+                <string>title</string>
               </list>
             </value>
         </item>
@@ -71,6 +71,10 @@
                     <key> <string>target</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>title</string> </key>
+                    <value> <string></string> </value>
+                </item>
               </dictionary>
             </value>
         </item>
@@ -87,6 +91,12 @@
                     <value> <string>Base_viewFieldLibrary</string> </value>
                 </item>
                 <item>
+                    <key> <string>items</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
                     <key> <string>target</string> </key>
                     <value> <string>Click to edit the target</string> </value>
                 </item>
@@ -108,7 +118,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python: [(\'\', \'\')] + [(x,x) for x in context.getDocumentTypeList()]</string> </value>
+            <value> <string>python: [(\'\', \'\')] + [(x,x) for x in context.portal_types.getDocumentTypeList()]</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_base/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/bt/revision?rev=45609&r1=45608&r2=45609&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/bt/revision [utf8] Thu Apr 21 15:10:17 2011
@@ -1 +1 @@
-972
\ No newline at end of file
+973
\ No newline at end of file



More information about the Erp5-report mailing list