[Erp5-report] r16253 - in /erp5/trunk/bt5/erp5_crm: SkinTemplateItem/portal_skins/erp5_crm/...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Sep 11 10:35:24 CEST 2007


Author: romain
Date: Tue Sep 11 10:35:24 2007
New Revision: 16253

URL: http://svn.erp5.org?rev=16253&view=rev
Log:
2007-09-11 Romain
* Remove hardcoded values

Modified:
    erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventModule_viewEventList/listbox.xml
    erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewFieldLibrary/my_causality_title.xml
    erp5/trunk/bt5/erp5_crm/bt/change_log
    erp5/trunk/bt5/erp5_crm/bt/revision

Modified: erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventModule_viewEventList/listbox.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventModule_viewEventList/listbox.xml?rev=16253&r1=16252&r2=16253&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventModule_viewEventList/listbox.xml (original)
+++ erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventModule_viewEventList/listbox.xml Tue Sep 11 10:35:24 2007
@@ -232,28 +232,7 @@
                 <item>
                     <key> <string>portal_types</string> </key>
                     <value>
-                      <list>
-                        <tuple>
-                          <string>Mail Message</string>
-                          <string>Email</string>
-                        </tuple>
-                        <tuple>
-                          <string>Phone Call</string>
-                          <string>Phone Call</string>
-                        </tuple>
-                        <tuple>
-                          <string>Fax Message</string>
-                          <string>Fax</string>
-                        </tuple>
-                        <tuple>
-                          <string>Letter</string>
-                          <string>Letter</string>
-                        </tuple>
-                        <tuple>
-                          <string>Note</string>
-                          <string>Note</string>
-                        </tuple>
-                      </list>
+                      <list/>
                     </value>
                 </item>
                 <item>
@@ -342,7 +321,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python:map(lambda x: (x, here.Localizer.erp5_ui.gettext(x)), here.getPortalEventTypeList())</string> </value>
+            <value> <string>python: [(x, x) for x in here.getPortalEventTypeList()]</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewFieldLibrary/my_causality_title.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewFieldLibrary/my_causality_title.xml?rev=16253&r1=16252&r2=16253&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewFieldLibrary/my_causality_title.xml (original)
+++ erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewFieldLibrary/my_causality_title.xml Tue Sep 11 10:35:24 2007
@@ -70,15 +70,19 @@
             <value>
               <dictionary>
                 <item>
-                    <key> <string>base_category</string> </key>
-                    <value> <string></string> </value>
-                </item>
-                <item>
-                    <key> <string>catalog_index</string> </key>
-                    <value> <string></string> </value>
-                </item>
-                <item>
-                    <key> <string>editable</string> </key>
+                    <key>                 <string>base_category</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key>                 <string>catalog_index</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key>                 <string>columns</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key>                 <string>editable</string> </key>
                     <value> <string></string> </value>
                 </item>
                 <item>
@@ -90,15 +94,17 @@
                     <value> <string></string> </value>
                 </item>
                 <item>
-                    <key> <string>portal_type</string> </key>
-                    <value> <string></string> </value>
+                    <key>                 <string>portal_type</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
                 </item>
                 <item>
                     <key> <string>target</string> </key>
                     <value> <string></string> </value>
                 </item>
                 <item>
-                    <key> <string>title</string> </key>
+                    <key>                 <string>title</string> </key>
                     <value> <string></string> </value>
                 </item>
               </dictionary>
@@ -168,24 +174,8 @@
                     <value>
                       <list>
                         <tuple>
-                          <string>Mail Message</string>
-                          <string>Mail Message</string>
-                        </tuple>
-                        <tuple>
-                          <string>Fax Message</string>
-                          <string>Fax Message</string>
-                        </tuple>
-                        <tuple>
-                          <string>Letter</string>
-                          <string>Letter</string>
-                        </tuple>
-                        <tuple>
-                          <string>Phone Call</string>
-                          <string>Phone Call</string>
-                        </tuple>
-                        <tuple>
-                          <string>Note</string>
-                          <string>Note</string>
+                          <string>Event</string>
+                          <string>Event</string>
                         </tuple>
                       </list>
                     </value>
@@ -204,4 +194,23 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.Formulator.TALESField</string>
+          <string>TALESMethod</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string>python: [(x, x) for x in here.getPortalEventTypeList()]</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_crm/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/change_log?rev=16253&r1=16252&r2=16253&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_crm/bt/change_log Tue Sep 11 10:35:24 2007
@@ -1,5 +1,6 @@
 2007-09-11 Romain
 * Add Visit portal type
+* Remove hardcoded values
 
 2007-09-11 Thierry
 * Improve Ticket workflow (add worklists)

Modified: erp5/trunk/bt5/erp5_crm/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/revision?rev=16253&r1=16252&r2=16253&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/revision (original)
+++ erp5/trunk/bt5/erp5_crm/bt/revision Tue Sep 11 10:35:24 2007
@@ -1,1 +1,1 @@
-91
+93




More information about the Erp5-report mailing list