From 03aefe21aacf39959fc48f3a327b630315b819a3 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Wed, 20 May 2009 08:14:23 +0000
Subject: [PATCH] add Pay Sheet Line and Pay Sheet Model Line to the
 portal_type filter list. Now udpate cell range on this portal types will be
 done using trade_matrix_workflow interraction workflow

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27068 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../interactions/setVariationCategoryList.xml        | 12 ++++++++++++
 bt5/erp5_trade/bt/revision                           |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_matrix_workflow/interactions/setVariationCategoryList.xml b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_matrix_workflow/interactions/setVariationCategoryList.xml
index baab3201d1..af66cb45a3 100644
--- a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_matrix_workflow/interactions/setVariationCategoryList.xml
+++ b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/trade_matrix_workflow/interactions/setVariationCategoryList.xml
@@ -35,6 +35,12 @@
               </list>
             </value>
         </item>
+        <item>
+            <key> <string>before_commit_script_name</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
         <item>
             <key> <string>description</string> </key>
             <value> <string></string> </value>
@@ -57,6 +63,10 @@
               </list>
             </value>
         </item>
+        <item>
+            <key> <string>once_per_transaction</string> </key>
+            <value> <int>0</int> </value>
+        </item>
         <item>
             <key> <string>portal_type_filter</string> </key>
             <value>
@@ -65,6 +75,8 @@
                 <string>Internal Packing List Line</string>
                 <string>Inventory Line</string>
                 <string>Invoice Line</string>
+                <string>Pay Sheet Line</string>
+                <string>Pay Sheet Model Line</string>
                 <string>Purchase Order Line</string>
                 <string>Purchase Packing List Line</string>
                 <string>Sale Order Line</string>
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index 5c0d33d75a..4aeea8c347 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-647
\ No newline at end of file
+650
\ No newline at end of file
-- 
2.30.9