diff --git a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow.xml b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow.xml index 9b2755d190410ba35d27899a60aaee5edbde6607..7d2c8c7d3077cd30fc067e85fce7899fc0112e3e 100644 --- a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow.xml +++ b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow.xml @@ -48,7 +48,7 @@ </item> <item> <key> <string>initial_state</string> </key> - <value> <string>draft</string> </value> + <value> <string>delivered</string> </value> </item> <item> <key> <string>manager_bypass</string> </key> diff --git a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/cancelled.xml b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/cancelled.xml deleted file mode 100644 index f91825292bf2e99d9690f8e585de5180b0d24e81..0000000000000000000000000000000000000000 --- a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/cancelled.xml +++ /dev/null @@ -1,110 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <tuple> - <string>Products.DCWorkflow.States</string> - <string>StateDefinition</string> - </tuple> - <none/> - </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>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> - <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> - <tuple> - <string>Persistence</string> - <string>PersistentMapping</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_container</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/> - </value> - </item> - <item> - <key> <string>Modify portal content</string> </key> - <value> - <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> diff --git a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/delivered.xml b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/delivered.xml index 73f91db730b8bd5469d1c227dfcf0dc9ed3efff0..5129c998b7be223e728f2a8bd50ac29f7a526446 100644 --- a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/delivered.xml +++ b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/delivered.xml @@ -84,13 +84,17 @@ <item> <key> <string>Add portal content</string> </key> <value> - <tuple/> + <tuple> + <string>Manager</string> + </tuple> </value> </item> <item> <key> <string>Modify portal content</string> </key> <value> - <tuple/> + <tuple> + <string>Manager</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/draft.xml b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/draft.xml deleted file mode 100644 index 5082e30ecc999e71c5752b39aa10d9ac83dd71ff..0000000000000000000000000000000000000000 --- a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/states/draft.xml +++ /dev/null @@ -1,121 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <tuple> - <string>Products.DCWorkflow.States</string> - <string>StateDefinition</string> - </tuple> - <none/> - </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>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> - <item> - <key> <string>transitions</string> </key> - <value> - <tuple> - <string>cancel</string> - <string>cancel_action</string> - <string>deliver</string> - <string>deliver_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> - <tuple> - <string>Persistence</string> - <string>PersistentMapping</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_container</string> </key> - <value> - <dictionary> - <item> - <key> <string>Access contents information</string> </key> - <value> - <tuple> - <string>Assignor</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>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>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/transitions/cancel.xml b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/transitions/cancel.xml deleted file mode 100644 index d0644bf74915822c73e5851d9b53b51e6d322773..0000000000000000000000000000000000000000 --- a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/transitions/cancel.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <tuple> - <string>Products.DCWorkflow.Transitions</string> - <string>TransitionDefinition</string> - </tuple> - <none/> - </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>cancel</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>cancelled</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Cancel</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/transitions/cancel_action.xml b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/transitions/cancel_action.xml deleted file mode 100644 index 3e2d6fcd7a88f9824c6f660b2704e08654cf5a1a..0000000000000000000000000000000000000000 --- a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/transitions/cancel_action.xml +++ /dev/null @@ -1,125 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <tuple> - <string>Products.DCWorkflow.Transitions</string> - <string>TransitionDefinition</string> - </tuple> - <none/> - </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>Cancel</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string encoding="cdata"><![CDATA[ - -%(content_url)s/Base_DoWorkflowAction?action_name=cancel_action&wf_id=inventory_workflow - -]]></string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>cancel</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>cancel_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>Cancel Action</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>1</int> </value> - </item> - <item> - <key> <string>var_exprs</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>Products.DCWorkflow.Guard</string> - <string>Guard</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Manager</string> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <tuple> - <string>Persistence</string> - <string>PersistentMapping</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_container</string> </key> - <value> - <dictionary/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/transitions/deliver.xml b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/transitions/deliver.xml deleted file mode 100644 index 18a8805d3745c3588e685fec5783aedbce4f6764..0000000000000000000000000000000000000000 --- a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/transitions/deliver.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <tuple> - <string>Products.DCWorkflow.Transitions</string> - <string>TransitionDefinition</string> - </tuple> - <none/> - </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>deliver</string> </value> - </item> - <item> - <key> <string>new_state_id</string> </key> - <value> <string>delivered</string> </value> - </item> - <item> - <key> <string>script_name</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Deliver</string> </value> - </item> - <item> - <key> <string>trigger_type</string> </key> - <value> <int>2</int> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/transitions/deliver_action.xml b/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/transitions/deliver_action.xml deleted file mode 100644 index 89fcf9c8e6ac910a224653df928bfcddbf1615bb..0000000000000000000000000000000000000000 --- a/bt5/erp5_banking_inventory/WorkflowTemplateItem/portal_workflow/inventory_workflow/transitions/deliver_action.xml +++ /dev/null @@ -1,94 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <tuple> - <string>Products.DCWorkflow.Transitions</string> - <string>TransitionDefinition</string> - </tuple> - <none/> - </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>Deliver</string> </value> - </item> - <item> - <key> <string>actbox_url</string> </key> - <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=deliver_action</string> </value> - </item> - <item> - <key> <string>after_script_name</string> </key> - <value> <string>deliver</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>deliver_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>Deliver Action</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> - <tuple> - <string>Products.DCWorkflow.Guard</string> - <string>Guard</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>roles</string> </key> - <value> - <tuple> - <string>Manager</string> - <string>Assignor</string> - </tuple> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_banking_inventory/bt/change_log b/bt5/erp5_banking_inventory/bt/change_log index 62ac40a4dc25ef07704f12fb26a0663c3f90d7bd..7e20aff5ee3eef3c8a3f962ce83f8b4e784b7fe8 100644 --- a/bt5/erp5_banking_inventory/bt/change_log +++ b/bt5/erp5_banking_inventory/bt/change_log @@ -1,3 +1,6 @@ +2006-06-30 aurel +* modify workflow so that default state is delivered + 2006-06-30 aurel * add cash delivery line property sheet on cash inventory cell and line diff --git a/bt5/erp5_banking_inventory/bt/template_action_path_list b/bt5/erp5_banking_inventory/bt/template_action_path_list index 3c8bd8c6c7d3e5335e9ce981476749b1601e4193..77f8cea37169a659b2bbb7f64088ddddd25233af 100644 --- a/bt5/erp5_banking_inventory/bt/template_action_path_list +++ b/bt5/erp5_banking_inventory/bt/template_action_path_list @@ -3,6 +3,7 @@ Bank Account Inventory Line | view Bank Account Inventory Module | view Bank Account Inventory | metadata Bank Account Inventory | view +Cash Inventory Cell | view Cash Inventory Group | metadata Cash Inventory Group | view Cash Inventory Line | metadata