[Erp5-report] r32999 fabien - in /erp5/trunk/bt5/erp5_apparel: ActionTemplateItem/portal_ty...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 23 09:38:35 CET 2010


Author: fabien
Date: Tue Feb 23 09:38:34 2010
New Revision: 32999

URL: http://svn.erp5.org?rev=32999&view=rev
Log:
add some jump action and check permission on existing

Added:
    erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Component/jump_to_related_transformation.xml
    erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Fabric/jump_to_related_transformation.xml
    erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Shape/jump_to_related_transformation.xml
Modified:
    erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Assortment/view_related_transformation.xml
    erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_apparel_model.xml
    erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_transformation.xml
    erp5/trunk/bt5/erp5_apparel/bt/revision
    erp5/trunk/bt5/erp5_apparel/bt/template_action_path_list

Modified: erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Assortment/view_related_transformation.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%2520Assortment/view_related_transformation.xml?rev=32999&r1=32998&r2=32999&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Assortment/view_related_transformation.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Assortment/view_related_transformation.xml [utf8] Tue Feb 23 09:38:34 2010
@@ -29,7 +29,9 @@
         </item>
         <item>
             <key> <string>condition</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
         </item>
         <item>
             <key> <string>description</string> </key>
@@ -88,4 +90,20 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python: portal.Base_checkPermission(\'apparel_assortment_module\', \'View\')</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Added: erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Component/jump_to_related_transformation.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%2520Component/jump_to_related_transformation.xml?rev=32999&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Component/jump_to_related_transformation.xml (added)
+++ erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Component/jump_to_related_transformation.xml [utf8] Tue Feb 23 09:38:34 2010
@@ -1,0 +1,113 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>action_type/object_jump</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_jump</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>jump_to_related_transformation</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Action Information</string> </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>7.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Related Transformation</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+string:${object_url}/Base_jumpToRelatedObject?base_category=resource&portal_type=Transformation
+
+]]></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python: portal.Base_checkPermission(\'apparel_component_module\', \'View\')</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Fabric/jump_to_related_transformation.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%2520Fabric/jump_to_related_transformation.xml?rev=32999&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Fabric/jump_to_related_transformation.xml (added)
+++ erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Fabric/jump_to_related_transformation.xml [utf8] Tue Feb 23 09:38:34 2010
@@ -1,0 +1,113 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>action_type/object_jump</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_jump</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>jump_to_related_transformation</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Action Information</string> </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>6.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Related Transformation</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+string:${object_url}/Base_jumpToRelatedObject?base_category=resource&portal_type=Transformation
+
+]]></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python: portal.Base_checkPermission(\'apparel_fabric_module\', \'View\')</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_apparel_model.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%2520Model/jump_to_related_apparel_model.xml?rev=32999&r1=32998&r2=32999&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_apparel_model.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_apparel_model.xml [utf8] Tue Feb 23 09:38:34 2010
@@ -29,11 +29,15 @@
         </item>
         <item>
             <key> <string>condition</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <none/>
+            </value>
         </item>
         <item>
             <key> <string>icon</string> </key>
@@ -79,11 +83,27 @@
             <key> <string>text</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-string:${object_url}/Base_jumpToRelatedObject?base_category=specialise&portal_type=Apparel+Model
+string:${object_url}/Base_jumpToRelatedObject?base_category=specialise&portal_type=Apparel+Model&selection_name=related_object_selection
 
 ]]></string> </value>
         </item>
       </dictionary>
     </pickle>
   </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python: portal.Base_checkPermission(\'apparel_model_module\', \'View\')</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Modified: erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_transformation.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%2520Model/jump_to_related_transformation.xml?rev=32999&r1=32998&r2=32999&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_transformation.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_transformation.xml [utf8] Tue Feb 23 09:38:34 2010
@@ -29,7 +29,9 @@
         </item>
         <item>
             <key> <string>condition</string> </key>
-            <value> <string></string> </value>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
         </item>
         <item>
             <key> <string>description</string> </key>
@@ -88,4 +90,20 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python: portal.Base_checkPermission(\'apparel_model_module\', \'View\')</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Added: erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Shape/jump_to_related_transformation.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%2520Shape/jump_to_related_transformation.xml?rev=32999&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Shape/jump_to_related_transformation.xml (added)
+++ erp5/trunk/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Shape/jump_to_related_transformation.xml [utf8] Tue Feb 23 09:38:34 2010
@@ -1,0 +1,109 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>action_type/object_jump</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_jump</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>jump_to_related_transformation</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>View</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>8.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Related Transformation</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+string:${object_url}/Base_jumpToRelatedObject?base_category=resource&portal_type=Transformation
+
+]]></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>python: portal.Base_checkPermission(\'apparel_shape_module\', \'View\')</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_apparel/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/bt/revision?rev=32999&r1=32998&r2=32999&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_apparel/bt/revision [utf8] Tue Feb 23 09:38:34 2010
@@ -1,1 +1,1 @@
-261
+263

Modified: erp5/trunk/bt5/erp5_apparel/bt/template_action_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/bt/template_action_path_list?rev=32999&r1=32998&r2=32999&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/bt/template_action_path_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_apparel/bt/template_action_path_list [utf8] Tue Feb 23 09:38:34 2010
@@ -50,6 +50,7 @@
 Apparel Component Variation | image_view
 Apparel Component Variation | view
 Apparel Component | instruction_view
+Apparel Component | jump_to_related_transformation
 Apparel Component | purchase_price_view
 Apparel Component | sale_price_view
 Apparel Component | view
@@ -83,6 +84,7 @@
 Apparel Fabric Module | view
 Apparel Fabric Module | workflow_report
 Apparel Fabric | instruction_view
+Apparel Fabric | jump_to_related_transformation
 Apparel Fabric | purchase_price_view
 Apparel Fabric | sale_price_view
 Apparel Fabric | view
@@ -134,6 +136,7 @@
 Apparel Shape | jump_to_related_apparel_cloth
 Apparel Shape | jump_to_related_apparel_model
 Apparel Shape | jump_to_related_apparel_shape
+Apparel Shape | jump_to_related_transformation
 Apparel Shape | view
 Apparel Size Module | csv_export
 Apparel Size Module | csv_import




More information about the Erp5-report mailing list