From d9e1a629633907dc5b4f6ecd892bdfaa10275dc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Tue, 16 Jun 2009 15:52:00 +0000
Subject: [PATCH]  - use %()s substitution for worklist url generation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27618 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../accounting_workflow/worklists/1_draft_transaction_list.xml  | 2 +-
 .../worklists/2_planned_confirmed_transaction_list.xml          | 2 +-
 .../worklists/4_started_transaction_list.xml                    | 2 +-
 .../worklists/5_stopped_transaction_list.xml                    | 2 +-
 .../worklists/99a_diverged_sale_invoice_list.xml                | 2 +-
 .../worklists/99b_diverged_purchase_invoice_list.xml            | 2 +-
 bt5/erp5_accounting/bt/revision                                 | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/1_draft_transaction_list.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/1_draft_transaction_list.xml
index a307b21edc..eadb05ea56 100644
--- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/1_draft_transaction_list.xml
+++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/1_draft_transaction_list.xml
@@ -21,7 +21,7 @@
             <key> <string>actbox_url</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-accounting_module/view?reset:int=1&local_roles=Owner&simulation_state=draft&portal_type=%(portal_type)s
+accounting_module/view?reset:int=1&local_roles=%(local_roles)s&simulation_state=draft&portal_type=%(portal_type)s
 
 ]]></string> </value>
         </item>
diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/2_planned_confirmed_transaction_list.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/2_planned_confirmed_transaction_list.xml
index 214ea4c537..16c82f62b8 100644
--- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/2_planned_confirmed_transaction_list.xml
+++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/2_planned_confirmed_transaction_list.xml
@@ -21,7 +21,7 @@
             <key> <string>actbox_url</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-accounting_module/view?reset:int=1&local_roles=Assignee&simulation_state:list=planned&simulation_state:list=confirmed&portal_type=%(portal_type)s
+accounting_module/view?reset:int=1&local_roles=%(local_roles)s&simulation_state:list=planned&simulation_state:list=confirmed&portal_type=%(portal_type)s
 
 ]]></string> </value>
         </item>
diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/4_started_transaction_list.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/4_started_transaction_list.xml
index 93678b1364..10fb04e843 100644
--- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/4_started_transaction_list.xml
+++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/4_started_transaction_list.xml
@@ -21,7 +21,7 @@
             <key> <string>actbox_url</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-accounting_module/view?reset:int=1&local_roles=Assignee&simulation_state=started&portal_type=%(portal_type)s
+accounting_module/view?reset:int=1&local_roles=%(local_roles)s&simulation_state=started&portal_type=%(portal_type)s
 
 ]]></string> </value>
         </item>
diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/5_stopped_transaction_list.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/5_stopped_transaction_list.xml
index 91c19a8c76..42fb511554 100644
--- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/5_stopped_transaction_list.xml
+++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/5_stopped_transaction_list.xml
@@ -21,7 +21,7 @@
             <key> <string>actbox_url</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-accounting_module/view?reset:int=1&local_roles=Assignor&simulation_state=stopped&portal_type=%(portal_type)s
+accounting_module/view?reset:int=1&local_roles=%(local_roles)s&simulation_state=stopped&portal_type=%(portal_type)s
 
 ]]></string> </value>
         </item>
diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/99a_diverged_sale_invoice_list.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/99a_diverged_sale_invoice_list.xml
index 4f8224b632..726ffcc1da 100644
--- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/99a_diverged_sale_invoice_list.xml
+++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/99a_diverged_sale_invoice_list.xml
@@ -21,7 +21,7 @@
             <key> <string>actbox_url</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-accounting_module/view?reset:int=1&local_roles:list=Assignee&local_roles:list=Assignor&local_roles:list=Associate&portal_type=Sale+Invoice+Transaction&causality_state=diverged
+accounting_module/view?reset:int=1&local_roles=%(local_roles)s&portal_type=%(portal_type)s&causality_state=diverged
 
 ]]></string> </value>
         </item>
diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/99b_diverged_purchase_invoice_list.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/99b_diverged_purchase_invoice_list.xml
index 8ba55fd814..32a6a3a157 100644
--- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/99b_diverged_purchase_invoice_list.xml
+++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/worklists/99b_diverged_purchase_invoice_list.xml
@@ -21,7 +21,7 @@
             <key> <string>actbox_url</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-accounting_module/view?reset:int=1&local_roles:list=Assignee&local_roles:list=Assignor&local_roles:list=Associate&portal_type=Purchase+Invoice+Transaction&causality_state=diverged
+accounting_module/view?reset:int=1&local_roles=%(local_roles)s&portal_type=%(portal_types)s&causality_state=diverged
 
 ]]></string> </value>
         </item>
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index 1178423244..dcdf7f59d9 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-941
\ No newline at end of file
+942
\ No newline at end of file
-- 
2.30.9