From 66d0fcb9ac6457580cae9678202a7955fb72c7d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 23 May 2008 11:38:50 +0000
Subject: [PATCH] Modernize the interaction workflow to update cell range on
 budget line, update on _set.*, but only once per transaction

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21091 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../interactions/setGroup.xml                       | 13 +++++--------
 bt5/erp5_budget/bt/revision                         |  2 +-
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_line_interaction_workflow/interactions/setGroup.xml b/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_line_interaction_workflow/interactions/setGroup.xml
index 457d6dbb23..c39139275f 100644
--- a/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_line_interaction_workflow/interactions/setGroup.xml
+++ b/bt5/erp5_budget/WorkflowTemplateItem/portal_workflow/budget_line_interaction_workflow/interactions/setGroup.xml
@@ -59,17 +59,14 @@
             <key> <string>method_id</string> </key>
             <value>
               <list>
-                <string>setGroup</string>
-                <string>_setGroup</string>
-                <string>setGroupValue</string>
-                <string>_setGroupValue</string>
-                <string>setGroupList</string>
-                <string>_setGroupList</string>
-                <string>setGroupValueList</string>
-                <string>_setGroupValueList</string>
+                <string>_set.*</string>
               </list>
             </value>
         </item>
+        <item>
+            <key> <string>once_per_transaction</string> </key>
+            <value> <int>1</int> </value>
+        </item>
         <item>
             <key> <string>portal_type_filter</string> </key>
             <value>
diff --git a/bt5/erp5_budget/bt/revision b/bt5/erp5_budget/bt/revision
index b393560759..410b14d2ce 100644
--- a/bt5/erp5_budget/bt/revision
+++ b/bt5/erp5_budget/bt/revision
@@ -1 +1 @@
-23
\ No newline at end of file
+25
\ No newline at end of file
-- 
2.30.9