[Erp5-report] r35940 fabien - in /experimental/bt5/erp5_credential: ActionTemplateItem/port...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jun 3 10:59:24 CEST 2010


Author: fabien
Date: Thu Jun  3 10:59:22 2010
New Revision: 35940

URL: http://svn.erp5.org?rev=35940&view=rev
Log:
add a new preference property : preferred_automatic_approve_credential_update to know if we want automatic transition or not on Credential Update. Improve description and put higher priority for the Preference tab.

Added:
    experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential/my_preferred_automatic_approve_credential_update.xml
Modified:
    experimental/bt5/erp5_credential/ActionTemplateItem/portal_types/System%20Preference/credential_preference.xml
    experimental/bt5/erp5_credential/PropertySheetTemplateItem/CredentialPreference.py
    experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential.xml
    experimental/bt5/erp5_credential/bt/revision

Modified: experimental/bt5/erp5_credential/ActionTemplateItem/portal_types/System%20Preference/credential_preference.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/ActionTemplateItem/portal_types/System%2520Preference/credential_preference.xml?rev=35940&r1=35939&r2=35940&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/ActionTemplateItem/portal_types/System%20Preference/credential_preference.xml [utf8] (original)
+++ experimental/bt5/erp5_credential/ActionTemplateItem/portal_types/System%20Preference/credential_preference.xml [utf8] Thu Jun  3 10:59:22 2010
@@ -59,7 +59,7 @@
         </item>
         <item>
             <key> <string>priority</string> </key>
-            <value> <float>5.0</float> </value>
+            <value> <float>10.0</float> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Modified: experimental/bt5/erp5_credential/PropertySheetTemplateItem/CredentialPreference.py
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/PropertySheetTemplateItem/CredentialPreference.py?rev=35940&r1=35939&r2=35940&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/PropertySheetTemplateItem/CredentialPreference.py [utf8] (original)
+++ experimental/bt5/erp5_credential/PropertySheetTemplateItem/CredentialPreference.py [utf8] Thu Jun  3 10:59:22 2010
@@ -37,7 +37,17 @@
   _properties = (
     { 'id'          : 'preferred_automatic_approve_credential_request',
       'description' : 'If it\'s checked, the approve transition will be '\
-                      'automatically passed without human review',
+                      'automatcally passed once the Credential Request is'\
+                      ' submitted without human review',
+      'type'        : 'boolean',
+      'write_permission': Permissions.ManageProperties,
+      'default'     : False,
+      'preference'  : 1,
+      'mode'        : '' },
+    { 'id'          : 'preferred_automatic_approve_credential_update',
+      'description' : 'If it\'s checked, the approve transition will be '\
+                      'automatcally passed once the Credential Update is'\
+                      ' submitted without human review',
       'type'        : 'boolean',
       'write_permission': Permissions.ManageProperties,
       'default'     : False,

Modified: experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential.xml?rev=35940&r1=35939&r2=35940&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential.xml [utf8] (original)
+++ experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential.xml [utf8] Thu Jun  3 10:59:22 2010
@@ -97,6 +97,7 @@
                     <value>
                       <list>
                         <string>my_preferred_automatic_approve_credential_request</string>
+                        <string>my_preferred_automatic_approve_credential_update</string>
                       </list>
                     </value>
                 </item>

Added: experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential/my_preferred_automatic_approve_credential_update.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential/my_preferred_automatic_approve_credential_update.xml?rev=35940&view=auto
==============================================================================
--- experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential/my_preferred_automatic_approve_credential_update.xml (added)
+++ experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential/my_preferred_automatic_approve_credential_update.xml [utf8] Thu Jun  3 10:59:22 2010
@@ -1,0 +1,99 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>delegated_list</string> </key>
+            <value>
+              <list>
+                <string>title</string>
+              </list>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>my_preferred_automatic_approve_credential_update</string> </value>
+        </item>
+        <item>
+            <key> <string>message_values</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>external_validator_failed</string> </key>
+                    <value> <string>The input failed the external validator.</string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>overrides</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>field_id</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>form_id</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>target</string> </key>
+                    <value> <string></string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>tales</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>field_id</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>form_id</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>target</string> </key>
+                    <value> <string></string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>values</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>field_id</string> </key>
+                    <value> <string>my_checkbox</string> </value>
+                </item>
+                <item>
+                    <key> <string>form_id</string> </key>
+                    <value> <string>Base_viewFieldLibrary</string> </value>
+                </item>
+                <item>
+                    <key> <string>target</string> </key>
+                    <value> <string>Click to edit the target</string> </value>
+                </item>
+                <item>
+                    <key> <string>title</string> </key>
+                    <value> <string>Is Preferred Automatic Approve Credential Update</string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: experimental/bt5/erp5_credential/bt/revision
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/bt/revision?rev=35940&r1=35939&r2=35940&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/bt/revision [utf8] (original)
+++ experimental/bt5/erp5_credential/bt/revision [utf8] Thu Jun  3 10:59:22 2010
@@ -1,1 +1,1 @@
-71
+72




More information about the Erp5-report mailing list