From a6c0faf27a815ffaaeb894c9ee2d4d3f92bc2fb4 Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Tue, 25 Sep 2007 02:19:08 +0000
Subject: [PATCH] 2007-09-25 yo * Set module group on portal types.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16594 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Account%20Module.xml         | 15 +++++++----
 .../Accounting%20Transaction%20Module.xml     | 11 ++++----
 bt5/erp5_accounting/bt/change_log             |  3 +++
 bt5/erp5_accounting/bt/revision               |  2 +-
 .../portal_types/Query%20Module.xml           | 21 +++++++++++----
 bt5/erp5_base/bt/change_log                   |  3 +++
 bt5/erp5_base/bt/revision                     |  2 +-
 .../base_category_list.xml                    |  4 ---
 .../Document%20Analysis%20Module.xml          | 15 +++++++----
 .../portal_types/Test%20Case%20Module.xml     | 11 ++++----
 .../portal_types/Test%20Report%20Module.xml   | 11 ++++----
 .../portal_types/Use%20Case%20Module.xml      | 15 +++++++----
 bt5/erp5_consulting/bt/change_log             |  3 +++
 bt5/erp5_consulting/bt/revision               |  2 +-
 .../template_portal_type_base_category_list   |  2 --
 .../External%20Source%20Module.xml            | 11 ++++----
 bt5/erp5_dms/bt/change_log                    |  3 +++
 bt5/erp5_dms/bt/revision                      |  2 +-
 .../Production%20Order%20Module.xml           | 15 +++++++----
 .../Production%20Packing%20List%20Module.xml  | 15 +++++++----
 .../Production%20Report%20Module.xml          | 15 +++++++----
 .../portal_types/Supply%20Chain%20Module.xml  | 15 +++++++----
 bt5/erp5_mrp/bt/change_log                    |  3 +++
 bt5/erp5_mrp/bt/revision                      |  2 +-
 .../Payroll%20Service%20Module.xml            | 11 ++++----
 bt5/erp5_payroll/bt/change_log                |  3 +++
 bt5/erp5_payroll/bt/revision                  |  2 +-
 .../portal_types/Component%20Module.xml       | 15 +++++++----
 .../portal_types/Product%20Module.xml         | 15 +++++++----
 .../portal_types/Service%20Module.xml         | 11 ++++----
 .../portal_types/Transformation%20Module.xml  | 15 +++++++----
 bt5/erp5_pdm/bt/change_log                    |  3 +++
 bt5/erp5_pdm/bt/revision                      |  2 +-
 .../Internal%20Packing%20List%20Module.xml    | 11 ++++----
 .../portal_types/Inventory%20Module.xml       | 15 +++++++----
 .../Purchase%20Order%20Module.xml             | 15 +++++++----
 .../Purchase%20Packing%20List%20Module.xml    | 15 +++++++----
 .../Purchase%20Supply%20Module.xml            | 15 +++++++----
 .../Purchase%20Trade%20Condition%20Module.xml | 15 +++++++----
 ...urned%20Sale%20Packing%20List%20Module.xml | 11 ++++----
 .../portal_types/Sale%20Order%20Module.xml    | 27 +++++++++++++++----
 .../Sale%20Packing%20List%20Module.xml        | 15 +++++++----
 .../portal_types/Sale%20Supply%20Module.xml   | 15 +++++++----
 .../Sale%20Trade%20Condition%20Module.xml     | 15 +++++++----
 bt5/erp5_trade/bt/change_log                  |  3 +++
 bt5/erp5_trade/bt/revision                    |  2 +-
 46 files changed, 290 insertions(+), 162 deletions(-)

diff --git a/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Account%20Module.xml b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Account%20Module.xml
index 5f7bcb4538..a3061d3166 100644
--- a/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Account%20Module.xml
+++ b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Account%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -93,6 +90,14 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Accounting%20Transaction%20Module.xml b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Accounting%20Transaction%20Module.xml
index 284b55228d..b296da3ea5 100644
--- a/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Accounting%20Transaction%20Module.xml
+++ b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Accounting%20Transaction%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -100,7 +97,9 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple/>
+              <tuple>
+                <string>module</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_accounting/bt/change_log b/bt5/erp5_accounting/bt/change_log
index 346c8400ac..610423fcc9 100644
--- a/bt5/erp5_accounting/bt/change_log
+++ b/bt5/erp5_accounting/bt/change_log
@@ -1,3 +1,6 @@
+2007-09-25 yo
+* Set module group on portal types.
+
 2007-09-09 Kazuhiko
 * rename edit to calculate in invoice_causality_workflow.
 
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index 1e59c84a3a..b14de3adc4 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-420
\ No newline at end of file
+421
\ No newline at end of file
diff --git a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Query%20Module.xml b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Query%20Module.xml
index b3dd428be0..eecb34db65 100644
--- a/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Query%20Module.xml
+++ b/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Query%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -30,6 +27,12 @@
               <dictionary/>
             </value>
         </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
         <item>
             <key> <string>_property_domain_dict</string> </key>
             <value>
@@ -111,6 +114,14 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_base/bt/change_log b/bt5/erp5_base/bt/change_log
index f185fbe81c..88c320822d 100644
--- a/bt5/erp5_base/bt/change_log
+++ b/bt5/erp5_base/bt/change_log
@@ -1,3 +1,6 @@
+2007-09-25 yo
+* Set module group on portal types.
+
 2007-09-12 yo
 * Split Currency_asNumericCode into Base_convertCurrencyCodeToNumericCode.
 
diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision
index 4c009fb2fb..bea0d09c49 100644
--- a/bt5/erp5_base/bt/revision
+++ b/bt5/erp5_base/bt/revision
@@ -1 +1 @@
-206
\ No newline at end of file
+207
\ No newline at end of file
diff --git a/bt5/erp5_consulting/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_consulting/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
index 3f3f740a6c..c409ce9e37 100644
--- a/bt5/erp5_consulting/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
+++ b/bt5/erp5_consulting/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
@@ -9,10 +9,6 @@
   <item>lexicon_item_type</item>
   <item>lexicon_item_ubm</item>
  </portal_type>
- <portal_type id="Feature">
-  <item>feature_state</item>
-  <item>feature_group</item>
- </portal_type>
  <portal_type id="Test Case">
   <item>specialise</item>
   <item>source</item>
diff --git a/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Document%20Analysis%20Module.xml b/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Document%20Analysis%20Module.xml
index 70a066c8d9..d7e149743f 100644
--- a/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Document%20Analysis%20Module.xml
+++ b/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Document%20Analysis%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -74,6 +71,14 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Test%20Case%20Module.xml b/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Test%20Case%20Module.xml
index b1c38aa6c7..409fa8ad10 100644
--- a/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Test%20Case%20Module.xml
+++ b/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Test%20Case%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -87,7 +84,9 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple/>
+              <tuple>
+                <string>module</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Test%20Report%20Module.xml b/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Test%20Report%20Module.xml
index c9e431f5a2..fbb412ef48 100644
--- a/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Test%20Report%20Module.xml
+++ b/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Test%20Report%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -87,7 +84,9 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple/>
+              <tuple>
+                <string>module</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Use%20Case%20Module.xml b/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Use%20Case%20Module.xml
index 3211e79017..bc55161cb7 100644
--- a/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Use%20Case%20Module.xml
+++ b/bt5/erp5_consulting/PortalTypeTemplateItem/portal_types/Use%20Case%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -74,6 +71,14 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_consulting/bt/change_log b/bt5/erp5_consulting/bt/change_log
index 5c8447fb27..269b7624c4 100644
--- a/bt5/erp5_consulting/bt/change_log
+++ b/bt5/erp5_consulting/bt/change_log
@@ -1,3 +1,6 @@
+2007-09-25 yo
+* Set module group on portal types.
+
 2008-08-06 JPS
 * Removed feature module (now called requirement and part of erp5_project bt)
 
diff --git a/bt5/erp5_consulting/bt/revision b/bt5/erp5_consulting/bt/revision
index 9d607966b7..3cacc0b93c 100644
--- a/bt5/erp5_consulting/bt/revision
+++ b/bt5/erp5_consulting/bt/revision
@@ -1 +1 @@
-11
\ No newline at end of file
+12
\ No newline at end of file
diff --git a/bt5/erp5_consulting/bt/template_portal_type_base_category_list b/bt5/erp5_consulting/bt/template_portal_type_base_category_list
index 0cd4ebeacc..c3ad1a7569 100644
--- a/bt5/erp5_consulting/bt/template_portal_type_base_category_list
+++ b/bt5/erp5_consulting/bt/template_portal_type_base_category_list
@@ -2,8 +2,6 @@ Document Analysis Document | document_analysis_document_type
 Document Analysis Lexicon Item | lexicon_item_type
 Document Analysis Lexicon Item | lexicon_item_ubm
 Document Analysis Lexicon | lexicon_source_type
-Feature | feature_group
-Feature | feature_state
 Test Case Actor | group
 Test Case Actor | site
 Test Case Actor | use_case_actor_role
diff --git a/bt5/erp5_dms/PortalTypeTemplateItem/portal_types/External%20Source%20Module.xml b/bt5/erp5_dms/PortalTypeTemplateItem/portal_types/External%20Source%20Module.xml
index 92ccc80c42..eefd586965 100644
--- a/bt5/erp5_dms/PortalTypeTemplateItem/portal_types/External%20Source%20Module.xml
+++ b/bt5/erp5_dms/PortalTypeTemplateItem/portal_types/External%20Source%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -82,7 +79,9 @@ be a problem).</string> </value>
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple/>
+              <tuple>
+                <string>module</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_dms/bt/change_log b/bt5/erp5_dms/bt/change_log
index 2a3636685d..4e8d8cfb96 100644
--- a/bt5/erp5_dms/bt/change_log
+++ b/bt5/erp5_dms/bt/change_log
@@ -1,3 +1,6 @@
+2007-09-25 yo
+* Set module group on portal types.
+
 2007-09-13 yo
 * Allow more for Manager, otherwise even changing permissions does not work.
 
diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision
index 0bd049a963..8e6862383d 100644
--- a/bt5/erp5_dms/bt/revision
+++ b/bt5/erp5_dms/bt/revision
@@ -1 +1 @@
-682
\ No newline at end of file
+684
\ No newline at end of file
diff --git a/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Order%20Module.xml b/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Order%20Module.xml
index 26501ed54c..8ade78e171 100644
--- a/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Order%20Module.xml
+++ b/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Order%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -104,6 +101,14 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Packing%20List%20Module.xml b/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Packing%20List%20Module.xml
index 9bee9b043e..63f6cc51bb 100644
--- a/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Packing%20List%20Module.xml
+++ b/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Packing%20List%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -104,6 +101,14 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Report%20Module.xml b/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Report%20Module.xml
index 201bca4561..3136b1c7c2 100644
--- a/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Report%20Module.xml
+++ b/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Production%20Report%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -104,6 +101,14 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Supply%20Chain%20Module.xml b/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Supply%20Chain%20Module.xml
index aef7968a0a..409013e4ba 100644
--- a/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Supply%20Chain%20Module.xml
+++ b/bt5/erp5_mrp/PortalTypeTemplateItem/portal_types/Supply%20Chain%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -94,6 +91,14 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_mrp/bt/change_log b/bt5/erp5_mrp/bt/change_log
index c4aced7eb1..32e8ca35d5 100644
--- a/bt5/erp5_mrp/bt/change_log
+++ b/bt5/erp5_mrp/bt/change_log
@@ -1,3 +1,6 @@
+2007-09-25 yo
+* Set module group on portal types.
+
 2006-05-15 Alex
 * Update maintainers.
 
diff --git a/bt5/erp5_mrp/bt/revision b/bt5/erp5_mrp/bt/revision
index dce6588ca1..7c091989d0 100644
--- a/bt5/erp5_mrp/bt/revision
+++ b/bt5/erp5_mrp/bt/revision
@@ -1 +1 @@
-36
\ No newline at end of file
+37
\ No newline at end of file
diff --git a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Payroll%20Service%20Module.xml b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Payroll%20Service%20Module.xml
index 579230dd9e..73ddf5c229 100644
--- a/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Payroll%20Service%20Module.xml
+++ b/bt5/erp5_payroll/PortalTypeTemplateItem/portal_types/Payroll%20Service%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -81,7 +78,9 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple/>
+              <tuple>
+                <string>module</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_payroll/bt/change_log b/bt5/erp5_payroll/bt/change_log
index 0b604d561e..960b43c407 100644
--- a/bt5/erp5_payroll/bt/change_log
+++ b/bt5/erp5_payroll/bt/change_log
@@ -1,3 +1,6 @@
+2007-09-25 yo
+* Set module group on portal types.
+
 2006-11-30 Kevin
 * Add new ceiling salary for 2007.
 
diff --git a/bt5/erp5_payroll/bt/revision b/bt5/erp5_payroll/bt/revision
index 9da06a1833..7f3a7cc66c 100644
--- a/bt5/erp5_payroll/bt/revision
+++ b/bt5/erp5_payroll/bt/revision
@@ -1 +1 @@
-160
\ No newline at end of file
+161
\ No newline at end of file
diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Component%20Module.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Component%20Module.xml
index edcf2a1cea..cfd792be7f 100644
--- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Component%20Module.xml
+++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Component%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -94,6 +91,14 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Product%20Module.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Product%20Module.xml
index d324ab8d03..e75c41c8c5 100644
--- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Product%20Module.xml
+++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Product%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -93,6 +90,14 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Service%20Module.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Service%20Module.xml
index 8db4a424cb..c42fd154b6 100644
--- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Service%20Module.xml
+++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Service%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -100,7 +97,9 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple/>
+              <tuple>
+                <string>module</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Module.xml b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Module.xml
index b68447d753..c61536f40d 100644
--- a/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Module.xml
+++ b/bt5/erp5_pdm/PortalTypeTemplateItem/portal_types/Transformation%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -94,6 +91,14 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_pdm/bt/change_log b/bt5/erp5_pdm/bt/change_log
index 54d3084fd7..87909a81bc 100644
--- a/bt5/erp5_pdm/bt/change_log
+++ b/bt5/erp5_pdm/bt/change_log
@@ -1,3 +1,6 @@
+2007-09-25 yo
+* Set module group on portal types.
+
 2007-08-13 Jerome
 * Remove portal type actions that are now defined as global actions
 
diff --git a/bt5/erp5_pdm/bt/revision b/bt5/erp5_pdm/bt/revision
index abc4eff6ac..801f180102 100644
--- a/bt5/erp5_pdm/bt/revision
+++ b/bt5/erp5_pdm/bt/revision
@@ -1 +1 @@
-46
\ No newline at end of file
+47
\ No newline at end of file
diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List%20Module.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List%20Module.xml
index fe08b6e621..0925dcfc35 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List%20Module.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Internal%20Packing%20List%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -100,7 +97,9 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple/>
+              <tuple>
+                <string>module</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory%20Module.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory%20Module.xml
index 61c7f4eeee..11182fd7d8 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory%20Module.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Inventory%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -93,6 +90,14 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Order%20Module.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Order%20Module.xml
index a828154c1c..78fe4a183a 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Order%20Module.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Order%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -93,6 +90,14 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Packing%20List%20Module.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Packing%20List%20Module.xml
index 14ba3985c9..b557d0901f 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Packing%20List%20Module.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Packing%20List%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -93,6 +90,14 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Supply%20Module.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Supply%20Module.xml
index e24766cc73..0d3b714ed7 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Supply%20Module.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Supply%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -98,6 +95,14 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Trade%20Condition%20Module.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Trade%20Condition%20Module.xml
index 286cc1c803..bb153bbb78 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Trade%20Condition%20Module.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Purchase%20Trade%20Condition%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -94,6 +91,14 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Returned%20Sale%20Packing%20List%20Module.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Returned%20Sale%20Packing%20List%20Module.xml
index 515742ea82..6decdf483d 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Returned%20Sale%20Packing%20List%20Module.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Returned%20Sale%20Packing%20List%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -100,7 +97,9 @@
         <item>
             <key> <string>group_list</string> </key>
             <value>
-              <tuple/>
+              <tuple>
+                <string>module</string>
+              </tuple>
             </value>
         </item>
         <item>
diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order%20Module.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order%20Module.xml
index 5f61a23281..d3f83d807a 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order%20Module.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Order%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -61,6 +58,10 @@
               <list/>
             </value>
         </item>
+        <item>
+            <key> <string>acquire_local_roles</string> </key>
+            <value> <int>1</int> </value>
+        </item>
         <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
@@ -93,6 +94,14 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
@@ -103,6 +112,14 @@
             <key> <string>id</string> </key>
             <value> <string>Sale Order Module</string> </value>
         </item>
+        <item>
+            <key> <string>init_script</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>permission</string> </key>
+            <value> <string></string> </value>
+        </item>
         <item>
             <key> <string>property_sheet_list</string> </key>
             <value>
diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Packing%20List%20Module.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Packing%20List%20Module.xml
index 8cbfb735ed..82c1aa0c80 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Packing%20List%20Module.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Packing%20List%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -93,6 +90,14 @@
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Supply%20Module.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Supply%20Module.xml
index b40d0010c8..770e1ac88d 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Supply%20Module.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Supply%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -98,6 +95,14 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Trade%20Condition%20Module.xml b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Trade%20Condition%20Module.xml
index d406290d87..7d44af38bc 100644
--- a/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Trade%20Condition%20Module.xml
+++ b/bt5/erp5_trade/PortalTypeTemplateItem/portal_types/Sale%20Trade%20Condition%20Module.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Type.ERP5Type</string>
-          <string>ERP5TypeInformation</string>
-        </tuple>
-        <none/>
+        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -94,6 +91,14 @@ be a problem).</string> </value>
             <key> <string>filter_content_types</string> </key>
             <value> <int>1</int> </value>
         </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>module</string>
+              </tuple>
+            </value>
+        </item>
         <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
diff --git a/bt5/erp5_trade/bt/change_log b/bt5/erp5_trade/bt/change_log
index 71b376b774..120f472245 100644
--- a/bt5/erp5_trade/bt/change_log
+++ b/bt5/erp5_trade/bt/change_log
@@ -1,3 +1,6 @@
+2007-09-25 yo
+* Set module group on portal types.
+
 2007-09-21 Yusei
 * Add open and closed states to order_workflow.
 
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index 2702ba3d43..d2c5ed2124 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-115
\ No newline at end of file
+116
\ No newline at end of file
-- 
2.30.9