From bc1a6a6d8cf3406d39c8e5d6a9941d2b4fdde3ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 5 Aug 2010 08:57:43 +0000
Subject: [PATCH] add missing portal types

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37507 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../my_delivery_title_list.xml                | 20 ++++++++++++++++++-
 bt5/erp5_simulation/bt/revision               |  2 +-
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/TargetSolver_view/my_delivery_title_list.xml b/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/TargetSolver_view/my_delivery_title_list.xml
index f4b9bc77cd..817aacf811 100644
--- a/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/TargetSolver_view/my_delivery_title_list.xml
+++ b/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/TargetSolver_view/my_delivery_title_list.xml
@@ -333,7 +333,9 @@
                 </item>
                 <item>
                     <key> <string>portal_type</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
                 </item>
                 <item>
                     <key> <string>proxy_listbox_ids</string> </key>
@@ -579,4 +581,20 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="TALESMethod" module="Products.Formulator.TALESField"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string>python: [(x, x) for x in context.getPortalMovementTypeList()]</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>
diff --git a/bt5/erp5_simulation/bt/revision b/bt5/erp5_simulation/bt/revision
index eafdfb06c5..b5db9c417a 100644
--- a/bt5/erp5_simulation/bt/revision
+++ b/bt5/erp5_simulation/bt/revision
@@ -1 +1 @@
-138
\ No newline at end of file
+139
\ No newline at end of file
-- 
2.30.9