[Erp5-report] r22363 - in /erp5/trunk/bt5/erp5_budget: WorkflowTemplateItem/portal_workflow...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jul 9 10:50:43 CEST 2008


Author: fabrice
Date: Wed Jul  9 10:50:42 2008
New Revision: 22363

URL: http://svn.erp5.org?rev=22363&view=rev
Log:
2008-07-09 fabrice
* change budget_workflow

Added:
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/scripts/checkConsistency.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/deleted.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/submitted.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/validated.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/delete.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/delete_action.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/submit.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/submit_action.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/validate.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/validate_action.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/portal_type.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/worklists/
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/worklists/1_planned_budget_list.xml
Modified:
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/cancelled.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/draft.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/cancel.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/cancel_action.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/action.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/actor.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/comment.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/error_message.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/history.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/time.xml
    erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/worklists.xml
    erp5/trunk/bt5/erp5_budget/bt/change_log
    erp5/trunk/bt5/erp5_budget/bt/revision

Modified: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow.xml?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow.xml (original)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow.xml Wed Jul  9 10:50:42 2008
@@ -22,10 +22,14 @@
             </value>
         </item>
         <item>
-            <key> <string>_owner</string> </key>
+            <key> <string>creation_guard</string> </key>
             <value>
               <none/>
             </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
         </item>
         <item>
             <key> <string>groups</string> </key>
@@ -39,11 +43,27 @@
         </item>
         <item>
             <key> <string>initial_state</string> </key>
-            <value> <string>delivered</string> </value>
+            <value> <string>draft</string> </value>
+        </item>
+        <item>
+            <key> <string>manager_bypass</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Access contents information</string>
+                <string>View</string>
+                <string>Add portal content</string>
+                <string>Modify portal content</string>
+                <string>Delete objects</string>
+              </tuple>
+            </value>
         </item>
         <item>
             <key> <string>state_var</string> </key>
-            <value> <string>simulation_state</string> </value>
+            <value> <string>validation_state</string> </value>
         </item>
         <item>
             <key> <string>title</string> </key>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/scripts/checkConsistency.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/scripts/checkConsistency.xml?rev=22363&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/scripts/checkConsistency.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/scripts/checkConsistency.xml Wed Jul  9 10:50:42 2008
@@ -1,0 +1,143 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Python_magic</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_container</string> </key>
+                                <value> <string>container</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_context</string> </key>
+                                <value> <string>context</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_m_self</string> </key>
+                                <value> <string>script</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_body</string> </key>
+            <value> <string>object = state_change[\'object\']\n
+object.Base_checkConsistency()\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_filepath</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string>state_change</string> </value>
+        </item>
+        <item>
+            <key> <string>errors</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_code</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>co_argcount</string> </key>
+                        <value> <int>1</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>state_change</string>
+                            <string>_getitem_</string>
+                            <string>object</string>
+                            <string>_getattr_</string>
+                          </tuple>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_defaults</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>checkConsistency</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/cancelled.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/cancelled.xml?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/cancelled.xml (original)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/cancelled.xml Wed Jul  9 10:50:42 2008
@@ -24,6 +24,12 @@
             <value> <string>cancelled</string> </value>
         </item>
         <item>
+            <key> <string>permission_roles</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
             <key> <string>title</string> </key>
             <value> <string>Cancelled</string> </value>
         </item>
@@ -42,4 +48,70 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>Access contents information</string> </key>
+                    <value>
+                      <list>
+                        <string>Assignor</string>
+                        <string>Author</string>
+                        <string>Manager</string>
+                      </list>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Add portal content</string> </key>
+                    <value>
+                      <list>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </list>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Delete objects</string> </key>
+                    <value>
+                      <list>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </list>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Modify portal content</string> </key>
+                    <value>
+                      <list>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </list>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>View</string> </key>
+                    <value>
+                      <list>
+                        <string>Assignor</string>
+                        <string>Author</string>
+                        <string>Manager</string>
+                      </list>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/deleted.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/deleted.xml?rev=22363&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/deleted.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/deleted.xml Wed Jul  9 10:50:42 2008
@@ -1,0 +1,110 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="StateDefinition" module="Products.DCWorkflow.States"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>deleted</string> </value>
+        </item>
+        <item>
+            <key> <string>permission_roles</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Deleted</string> </value>
+        </item>
+        <item>
+            <key> <string>transitions</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>Access contents information</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Add portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Delete objects</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Modify portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>View</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/draft.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/draft.xml?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/draft.xml (original)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/draft.xml Wed Jul  9 10:50:42 2008
@@ -24,6 +24,12 @@
             <value> <string>draft</string> </value>
         </item>
         <item>
+            <key> <string>permission_roles</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
             <key> <string>title</string> </key>
             <value> <string>Draft</string> </value>
         </item>
@@ -31,10 +37,10 @@
             <key> <string>transitions</string> </key>
             <value>
               <tuple>
-                <string>cancel</string>
-                <string>cancel_action</string>
-                <string>deliver</string>
-                <string>deliver_action</string>
+                <string>delete</string>
+                <string>delete_action</string>
+                <string>submit</string>
+                <string>submit_action</string>
               </tuple>
             </value>
         </item>
@@ -47,4 +53,75 @@
       </dictionary>
     </pickle>
   </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>Access contents information</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                        <string>Owner</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Add portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                        <string>Owner</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Delete objects</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                        <string>Owner</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Modify portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                        <string>Owner</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>View</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                        <string>Owner</string>
+                      </tuple>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
 </ZopeData>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/submitted.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/submitted.xml?rev=22363&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/submitted.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/submitted.xml Wed Jul  9 10:50:42 2008
@@ -1,0 +1,122 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="StateDefinition" module="Products.DCWorkflow.States"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>submitted</string> </value>
+        </item>
+        <item>
+            <key> <string>permission_roles</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Submitted</string> </value>
+        </item>
+        <item>
+            <key> <string>transitions</string> </key>
+            <value>
+              <tuple>
+                <string>cancel</string>
+                <string>cancel_action</string>
+                <string>validate</string>
+                <string>validate_action</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>Access contents information</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Add portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Delete objects</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Modify portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>View</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/validated.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/validated.xml?rev=22363&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/validated.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/states/validated.xml Wed Jul  9 10:50:42 2008
@@ -1,0 +1,114 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="StateDefinition" module="Products.DCWorkflow.States"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>validated</string> </value>
+        </item>
+        <item>
+            <key> <string>permission_roles</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Validated</string> </value>
+        </item>
+        <item>
+            <key> <string>transitions</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>type_list</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>Access contents information</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Associate</string>
+                        <string>Auditor</string>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Add portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Delete objects</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>Modify portal content</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Manager</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>View</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Assignor</string>
+                        <string>Auditor</string>
+                      </tuple>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/cancel.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/cancel.xml?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/cancel.xml (original)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/cancel.xml Wed Jul  9 10:50:42 2008
@@ -21,7 +21,7 @@
         </item>
         <item>
             <key> <string>actbox_name</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Cancel</string> </value>
         </item>
         <item>
             <key> <string>actbox_url</string> </key>

Modified: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/cancel_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/cancel_action.xml?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/cancel_action.xml (original)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/cancel_action.xml Wed Jul  9 10:50:42 2008
@@ -21,11 +21,11 @@
         </item>
         <item>
             <key> <string>actbox_name</string> </key>
-            <value> <string>Cancel Budget</string> </value>
+            <value> <string>Cancel</string> </value>
         </item>
         <item>
             <key> <string>actbox_url</string> </key>
-            <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=cancel_action</string> </value>
+            <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=cancel_action</string> </value>
         </item>
         <item>
             <key> <string>after_script_name</string> </key>
@@ -55,7 +55,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Cancel a budget</string> </value>
         </item>
         <item>
             <key> <string>trigger_type</string> </key>
@@ -67,11 +67,8 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.DCWorkflow.Guard</string>
-          <string>Guard</string>
-        </tuple>
-        <none/>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -81,7 +78,6 @@
             <value>
               <tuple>
                 <string>Assignor</string>
-                <string>Owner</string>
               </tuple>
             </value>
         </item>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/delete.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/delete.xml?rev=22363&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/delete.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/delete.xml Wed Jul  9 10:50:42 2008
@@ -1,0 +1,67 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>actbox_category</string> </key>
+            <value> <string>workflow</string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_name</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_url</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>after_script_name</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>guard</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>delete</string> </value>
+        </item>
+        <item>
+            <key> <string>new_state_id</string> </key>
+            <value> <string>deleted</string> </value>
+        </item>
+        <item>
+            <key> <string>script_name</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>trigger_type</string> </key>
+            <value> <int>2</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/delete_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/delete_action.xml?rev=22363&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/delete_action.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/delete_action.xml Wed Jul  9 10:50:42 2008
@@ -1,0 +1,88 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>actbox_category</string> </key>
+            <value> <string>workflow</string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_name</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_url</string> </key>
+            <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=delete_action</string> </value>
+        </item>
+        <item>
+            <key> <string>after_script_name</string> </key>
+            <value> <string>delete</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>guard</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>delete_action</string> </value>
+        </item>
+        <item>
+            <key> <string>new_state_id</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>script_name</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Delete a budget</string> </value>
+        </item>
+        <item>
+            <key> <string>trigger_type</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>roles</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+                <string>Owner</string>
+              </tuple>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/submit.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/submit.xml?rev=22363&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/submit.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/submit.xml Wed Jul  9 10:50:42 2008
@@ -1,0 +1,67 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>actbox_category</string> </key>
+            <value> <string>workflow</string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_name</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_url</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>after_script_name</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>guard</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>submit</string> </value>
+        </item>
+        <item>
+            <key> <string>new_state_id</string> </key>
+            <value> <string>submitted</string> </value>
+        </item>
+        <item>
+            <key> <string>script_name</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>trigger_type</string> </key>
+            <value> <int>2</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/submit_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/submit_action.xml?rev=22363&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/submit_action.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/submit_action.xml Wed Jul  9 10:50:42 2008
@@ -1,0 +1,87 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>actbox_category</string> </key>
+            <value> <string>workflow</string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_name</string> </key>
+            <value> <string>Submit</string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_url</string> </key>
+            <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=submit_action</string> </value>
+        </item>
+        <item>
+            <key> <string>after_script_name</string> </key>
+            <value> <string>submit</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>guard</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>submit_action</string> </value>
+        </item>
+        <item>
+            <key> <string>new_state_id</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>script_name</string> </key>
+            <value> <string>checkConsistency</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Plan a budget</string> </value>
+        </item>
+        <item>
+            <key> <string>trigger_type</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>roles</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+              </tuple>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/validate.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/validate.xml?rev=22363&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/validate.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/validate.xml Wed Jul  9 10:50:42 2008
@@ -1,0 +1,67 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>actbox_category</string> </key>
+            <value> <string>workflow</string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_name</string> </key>
+            <value> <string>Validate</string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_url</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>after_script_name</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>guard</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>validate</string> </value>
+        </item>
+        <item>
+            <key> <string>new_state_id</string> </key>
+            <value> <string>validated</string> </value>
+        </item>
+        <item>
+            <key> <string>script_name</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>trigger_type</string> </key>
+            <value> <int>2</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/validate_action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/validate_action.xml?rev=22363&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/validate_action.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/transitions/validate_action.xml Wed Jul  9 10:50:42 2008
@@ -1,0 +1,87 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>actbox_category</string> </key>
+            <value> <string>workflow</string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_name</string> </key>
+            <value> <string>Validate</string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_url</string> </key>
+            <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=validate_action</string> </value>
+        </item>
+        <item>
+            <key> <string>after_script_name</string> </key>
+            <value> <string>validate</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>guard</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>validate_action</string> </value>
+        </item>
+        <item>
+            <key> <string>new_state_id</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>script_name</string> </key>
+            <value> <string>checkConsistency</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Make a budget effective</string> </value>
+        </item>
+        <item>
+            <key> <string>trigger_type</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>roles</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+              </tuple>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/action.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/action.xml?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/action.xml (original)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/action.xml Wed Jul  9 10:50:42 2008
@@ -27,7 +27,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>The last transition</string> </value>
         </item>
         <item>
             <key> <string>for_catalog</string> </key>
@@ -57,11 +57,8 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>

Modified: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/actor.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/actor.xml?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/actor.xml (original)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/actor.xml Wed Jul  9 10:50:42 2008
@@ -27,7 +27,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>The name of the user who performed the last transition</string> </value>
         </item>
         <item>
             <key> <string>for_catalog</string> </key>
@@ -57,11 +57,8 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>

Modified: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/comment.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/comment.xml?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/comment.xml (original)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/comment.xml Wed Jul  9 10:50:42 2008
@@ -27,7 +27,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Comments about the last transition</string> </value>
         </item>
         <item>
             <key> <string>for_catalog</string> </key>
@@ -57,18 +57,15 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
             <key> <string>text</string> </key>
-            <value> <string>python:state_change.kwargs.get(\'comment\',\'\')</string> </value>
+            <value> <string>python:state_change.kwargs.get(\'comment\', \'\')</string> </value>
         </item>
       </dictionary>
     </pickle>

Modified: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/error_message.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/error_message.xml?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/error_message.xml (original)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/error_message.xml Wed Jul  9 10:50:42 2008
@@ -27,7 +27,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Error message if validation failed</string> </value>
         </item>
         <item>
             <key> <string>for_catalog</string> </key>

Modified: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/history.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/history.xml?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/history.xml (original)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/history.xml Wed Jul  9 10:50:42 2008
@@ -27,7 +27,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Provides access to workflow history</string> </value>
         </item>
         <item>
             <key> <string>for_catalog</string> </key>
@@ -49,7 +49,7 @@
         </item>
         <item>
             <key> <string>update_always</string> </key>
-            <value> <int>1</int> </value>
+            <value> <int>0</int> </value>
         </item>
       </dictionary>
     </pickle>
@@ -57,11 +57,8 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/portal_type.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/portal_type.xml?rev=22363&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/portal_type.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/portal_type.xml Wed Jul  9 10:50:42 2008
@@ -1,0 +1,57 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="VariableDefinition" module="Products.DCWorkflow.Variables"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>default_expr</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>default_value</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>portal type (use as filter for worklists)</string> </value>
+        </item>
+        <item>
+            <key> <string>for_catalog</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>for_status</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>portal_type</string> </value>
+        </item>
+        <item>
+            <key> <string>info_guard</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>update_always</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/time.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/time.xml?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/time.xml (original)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/variables/time.xml Wed Jul  9 10:50:42 2008
@@ -27,7 +27,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string></string> </value>
+            <value> <string>Time of the last transition</string> </value>
         </item>
         <item>
             <key> <string>for_catalog</string> </key>
@@ -57,11 +57,8 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.CMFCore.Expression</string>
-          <string>Expression</string>
-        </tuple>
-        <none/>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>

Modified: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/worklists.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/worklists.xml?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/worklists.xml (original)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/worklists.xml Wed Jul  9 10:50:42 2008
@@ -22,6 +22,12 @@
             </value>
         </item>
         <item>
+            <key> <string>_objects</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
             <key> <string>id</string> </key>
             <value> <string>worklists</string> </value>
         </item>

Added: erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/worklists/1_planned_budget_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/worklists/1_planned_budget_list.xml?rev=22363&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/worklists/1_planned_budget_list.xml (added)
+++ erp5/trunk/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_workflow/worklists/1_planned_budget_list.xml Wed Jul  9 10:50:42 2008
@@ -1,0 +1,112 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="WorklistDefinition" module="Products.DCWorkflow.Worklists"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>actbox_category</string> </key>
+            <value> <string>global</string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_name</string> </key>
+            <value> <string>Budget to Plan (%(count)s)</string> </value>
+        </item>
+        <item>
+            <key> <string>actbox_url</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+budget_module/view?validation_state=planned&local_roles:list=Assignor&reset=1
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Budget to plan</string> </value>
+        </item>
+        <item>
+            <key> <string>guard</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>1_planned_budget_list</string> </value>
+        </item>
+        <item>
+            <key> <string>var_matches</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>roles</string> </key>
+            <value>
+              <tuple>
+                <string>Assignor</string>
+              </tuple>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>portal_type</string> </key>
+                    <value>
+                      <tuple>
+                        <string>Budget</string>
+                      </tuple>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>simulation_state</string> </key>
+                    <value>
+                      <tuple>
+                        <string>planned</string>
+                      </tuple>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_budget/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/bt/change_log?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_budget/bt/change_log Wed Jul  9 10:50:42 2008
@@ -1,3 +1,6 @@
+2008-07-09 fabrice
+* change budget_workflow
+
 2008-07-07 jerome
 * Use categories to configure the budget line and budget cell variations. Scripts adapt their behaviour to use those configurations.
 

Modified: erp5/trunk/bt5/erp5_budget/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_budget/bt/revision?rev=22363&r1=22362&r2=22363&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_budget/bt/revision (original)
+++ erp5/trunk/bt5/erp5_budget/bt/revision Wed Jul  9 10:50:42 2008
@@ -1,1 +1,1 @@
-34
+44




More information about the Erp5-report mailing list