From 7e4a67605785926bb9574de0a16cdceb228c22fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 16 Jul 2008 10:02:15 +0000 Subject: [PATCH] 2008-07-16 Jerome Add worklists for diverged packing lists set explicit title on packing_list_causality_workflow and update description git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22492 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../packing_list_causality_workflow.xml | 4 +- .../1_diverged_purchase_packing_list_list.xml | 112 ++++++++++++++++++ .../2_diverged_sale_packing_list_list.xml | 112 ++++++++++++++++++ bt5/erp5_trade/bt/change_log | 5 +- bt5/erp5_trade/bt/revision | 2 +- 5 files changed, 231 insertions(+), 4 deletions(-) create mode 100644 bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_causality_workflow/worklists/1_diverged_purchase_packing_list_list.xml create mode 100644 bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_causality_workflow/worklists/2_diverged_sale_packing_list_list.xml diff --git a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_causality_workflow.xml b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_causality_workflow.xml index 9f599c9963..2ca91d46de 100644 --- a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_causality_workflow.xml +++ b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_causality_workflow.xml @@ -35,7 +35,7 @@ </item> <item> <key> <string>description</string> </key> - <value> <string>Workflow use to compute if packing is divergent from orders or not</string> </value> + <value> <string>Workflow used to compute whether packing lists are divergent from orders or not.</string> </value> </item> <item> <key> <string>groups</string> </key> @@ -70,7 +70,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>Causality Workflow</string> </value> + <value> <string>Packing List Causality Workflow</string> </value> </item> <item> <key> <string>uid</string> </key> diff --git a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_causality_workflow/worklists/1_diverged_purchase_packing_list_list.xml b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_causality_workflow/worklists/1_diverged_purchase_packing_list_list.xml new file mode 100644 index 0000000000..6678d33df0 --- /dev/null +++ b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_causality_workflow/worklists/1_diverged_purchase_packing_list_list.xml @@ -0,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>Purchase Packing List to Solve (%(count)s)</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +purchase_packing_list_module/view?causality_state=diverged&portal_type=Purchase+Packing+List&local_roles:list=Assignor&reset=1 + +]]></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>1_diverged_purchase_packing_list_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>causality_state</string> </key> + <value> + <tuple> + <string>diverged</string> + </tuple> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> + <tuple> + <string>Purchase Packing List</string> + </tuple> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_causality_workflow/worklists/2_diverged_sale_packing_list_list.xml b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_causality_workflow/worklists/2_diverged_sale_packing_list_list.xml new file mode 100644 index 0000000000..5d7c6cf0bb --- /dev/null +++ b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/packing_list_causality_workflow/worklists/2_diverged_sale_packing_list_list.xml @@ -0,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>Sale Packing List to Solve (%(count)s)</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +sale_packing_list_module/view?causality_state=diverged&portal_type=Sale+Packing+List&local_roles:list=Assignor&reset=1 + +]]></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>2_diverged_sale_packing_list_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>causality_state</string> </key> + <value> + <tuple> + <string>diverged</string> + </tuple> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> + <tuple> + <string>Sale Packing List</string> + </tuple> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_trade/bt/change_log b/bt5/erp5_trade/bt/change_log index f6d1cfd7b3..729279d7e6 100644 --- a/bt5/erp5_trade/bt/change_log +++ b/bt5/erp5_trade/bt/change_log @@ -1,5 +1,8 @@ +2008-07-16 Jerome +Add worklists for diverged packing lists. + 2008-07-09 Nicolas -use standart packing_list_workflow for Internal Packing Lists +use standard packing_list_workflow for Internal Packing Lists 2008-07-07 Nicolas Proxify Internal Packing List diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision index 26f5507e83..59b8937b62 100644 --- a/bt5/erp5_trade/bt/revision +++ b/bt5/erp5_trade/bt/revision @@ -1 +1 @@ -423 \ No newline at end of file +424 \ No newline at end of file -- 2.30.9