From 60d49e77f33c2e375694a77aad75a821a59ae327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 9 Oct 2006 15:25:59 +0000 Subject: [PATCH] added a worklist for accounts in draft state. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10633 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../worklists/draft_account.xml | 121 ++++++++++++++++++ bt5/erp5_accounting/bt/revision | 2 +- 2 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/worklists/draft_account.xml diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/worklists/draft_account.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/worklists/draft_account.xml new file mode 100644 index 0000000000..ada00cf7b3 --- /dev/null +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/account_workflow/worklists/draft_account.xml @@ -0,0 +1,121 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.DCWorkflow.Worklists</string> + <string>WorklistDefinition</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>global</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string>Accounts to Validate (%(count)s)</string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +account_module/view?validation_state=draft&reset:int=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>draft_account</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> + <tuple> + <string>Products.DCWorkflow.Guard</string> + <string>Guard</string> + </tuple> + <none/> + </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> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>portal_type</string> </key> + <value> + <tuple> + <string>Account</string> + </tuple> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> + <tuple> + <string>draft</string> + </tuple> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 780fea92d2..efee1f88bb 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -77 \ No newline at end of file +78 \ No newline at end of file -- 2.30.9