From 5b437f9db2ac3961084c220f1d06e7b946776179 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Fri, 21 Aug 2009 09:58:05 +0000
Subject: [PATCH]  - BPM * Rules do not exist anymore - remove portal types,
 actions, related scripts, etc  - update builders to use generic scripts

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28541 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../BPM%20Delivery%20Rule/view.xml            |  77 --------
 .../view.xml                                  |  77 --------
 .../view_divergence_testers.xml               |  77 --------
 .../BPM%20Invoicing%20Rule/view.xml           |  77 --------
 .../portal_types/BPM%20Order%20Rule/view.xml  |  77 --------
 .../bpm_sale_invoice_builder.xml              |   2 +-
 .../bpm_sale_packing_list_builder.xml         |   2 +-
 .../allowed_content_types.xml                 |  30 ---
 .../hidden_content_type_list.xml              |   5 -
 .../portal_types/BPM%20Delivery%20Rule.xml    | 167 -----------------
 .../BPM%20Invoice%20Transaction%20Rule.xml    | 167 -----------------
 .../portal_types/BPM%20Invoicing%20Rule.xml   | 167 -----------------
 .../portal_types/BPM%20Order%20Rule.xml       | 167 -----------------
 .../workflow_chain_type.xml                   |  16 --
 .../BPMInvoiceTransactionRule_asCellRange.xml | 174 ------------------
 ...BPMInvoiceTransactionRulke_asPredicate.xml | 122 ------------
 .../erp5_bpm/Delivery_updateAppliedRule.xml   | 149 ---------------
 .../PurchaseOrder_getRuleReference.xml        | 119 ------------
 ...chasePackingListOrder_getRuleReference.xml | 119 ------------
 ...ansaction_selectPackingListBPMMovement.xml | 135 --------------
 .../erp5_bpm/SaleOrder_getRuleReference.xml   | 119 ------------
 .../erp5_bpm/SaleOrder_selectBPMMovement.xml  | 154 ----------------
 .../SalePackingList_getRuleReference.xml      | 119 ------------
 ...Movement_testBPMInvoiceTransactionRule.xml | 148 ---------------
 ...imulationMovement_testBPMInvoicingRule.xml | 145 ---------------
 .../SimulationMovement_testTradeModelRule.xml | 140 --------------
 bt5/erp5_bpm/bt/revision                      |   2 +-
 bt5/erp5_bpm/bt/template_action_path_list     |   5 -
 ...late_portal_type_allowed_content_type_list |  18 --
 ...plate_portal_type_hidden_content_type_list |   1 -
 bt5/erp5_bpm/bt/template_portal_type_id_list  |   4 -
 .../template_portal_type_workflow_chain_list  |   9 -
 32 files changed, 3 insertions(+), 2787 deletions(-)
 delete mode 100644 bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Delivery%20Rule/view.xml
 delete mode 100644 bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Invoice%20Transaction%20Rule/view.xml
 delete mode 100644 bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Invoice%20Transaction%20Rule/view_divergence_testers.xml
 delete mode 100644 bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Invoicing%20Rule/view.xml
 delete mode 100644 bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Order%20Rule/view.xml
 delete mode 100644 bt5/erp5_bpm/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
 delete mode 100644 bt5/erp5_bpm/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
 delete mode 100644 bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Delivery%20Rule.xml
 delete mode 100644 bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Invoice%20Transaction%20Rule.xml
 delete mode 100644 bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Invoicing%20Rule.xml
 delete mode 100644 bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Order%20Rule.xml
 delete mode 100644 bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/BPMInvoiceTransactionRule_asCellRange.xml
 delete mode 100644 bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/BPMInvoiceTransactionRulke_asPredicate.xml
 delete mode 100644 bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/Delivery_updateAppliedRule.xml
 delete mode 100644 bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/PurchaseOrder_getRuleReference.xml
 delete mode 100644 bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/PurchasePackingListOrder_getRuleReference.xml
 delete mode 100644 bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SaleInvoiceTransaction_selectPackingListBPMMovement.xml
 delete mode 100644 bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SaleOrder_getRuleReference.xml
 delete mode 100644 bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SaleOrder_selectBPMMovement.xml
 delete mode 100644 bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SalePackingList_getRuleReference.xml
 delete mode 100644 bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testBPMInvoiceTransactionRule.xml
 delete mode 100644 bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testBPMInvoicingRule.xml
 delete mode 100644 bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testTradeModelRule.xml

diff --git a/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Delivery%20Rule/view.xml b/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Delivery%20Rule/view.xml
deleted file mode 100644
index 4d916ec8e1..0000000000
--- a/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Delivery%20Rule/view.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>action</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_view</string> </value>
-        </item>
-        <item>
-            <key> <string>condition</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>icon</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>view</string> </value>
-        </item>
-        <item>
-            <key> <string>permissions</string> </key>
-            <value>
-              <tuple>
-                <string>View</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>View</string> </value>
-        </item>
-        <item>
-            <key> <string>visible</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <global name="Expression" module="Products.CMFCore.Expression"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/Rule_view</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Invoice%20Transaction%20Rule/view.xml b/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Invoice%20Transaction%20Rule/view.xml
deleted file mode 100644
index e400aa5eee..0000000000
--- a/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Invoice%20Transaction%20Rule/view.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>action</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_view</string> </value>
-        </item>
-        <item>
-            <key> <string>condition</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>icon</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>view</string> </value>
-        </item>
-        <item>
-            <key> <string>permissions</string> </key>
-            <value>
-              <tuple>
-                <string>View</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>View</string> </value>
-        </item>
-        <item>
-            <key> <string>visible</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <global name="Expression" module="Products.CMFCore.Expression"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/InvoiceTransactionRule_view</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Invoice%20Transaction%20Rule/view_divergence_testers.xml b/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Invoice%20Transaction%20Rule/view_divergence_testers.xml
deleted file mode 100644
index 81f6d0b0a0..0000000000
--- a/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Invoice%20Transaction%20Rule/view_divergence_testers.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>action</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_view</string> </value>
-        </item>
-        <item>
-            <key> <string>condition</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>icon</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>view_divergence_testers</string> </value>
-        </item>
-        <item>
-            <key> <string>permissions</string> </key>
-            <value>
-              <tuple>
-                <string>View</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>priority</string> </key>
-            <value> <float>2.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Divergence Testers</string> </value>
-        </item>
-        <item>
-            <key> <string>visible</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <global name="Expression" module="Products.CMFCore.Expression"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/Rule_view</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Invoicing%20Rule/view.xml b/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Invoicing%20Rule/view.xml
deleted file mode 100644
index 4d916ec8e1..0000000000
--- a/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Invoicing%20Rule/view.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>action</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_view</string> </value>
-        </item>
-        <item>
-            <key> <string>condition</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>icon</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>view</string> </value>
-        </item>
-        <item>
-            <key> <string>permissions</string> </key>
-            <value>
-              <tuple>
-                <string>View</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>View</string> </value>
-        </item>
-        <item>
-            <key> <string>visible</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <global name="Expression" module="Products.CMFCore.Expression"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/Rule_view</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Order%20Rule/view.xml b/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Order%20Rule/view.xml
deleted file mode 100644
index 4d916ec8e1..0000000000
--- a/bt5/erp5_bpm/ActionTemplateItem/portal_types/BPM%20Order%20Rule/view.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>action</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>category</string> </key>
-            <value> <string>object_view</string> </value>
-        </item>
-        <item>
-            <key> <string>condition</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>icon</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>view</string> </value>
-        </item>
-        <item>
-            <key> <string>permissions</string> </key>
-            <value>
-              <tuple>
-                <string>View</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>priority</string> </key>
-            <value> <float>1.0</float> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>View</string> </value>
-        </item>
-        <item>
-            <key> <string>visible</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <global name="Expression" module="Products.CMFCore.Expression"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>text</string> </key>
-            <value> <string>string:${object_url}/Rule_view</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder.xml
index 8c04894949..d03e3ab75e 100644
--- a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder.xml
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder.xml
@@ -214,7 +214,7 @@
         </item>
         <item>
             <key> <string>simulation_select_method_id</string> </key>
-            <value> <string>SaleInvoiceTransaction_selectPackingListBPMMovement</string> </value>
+            <value> <string>SaleInvoiceTransaction_selectPackingListMovement</string> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder.xml
index 0133e1b4aa..53073da249 100644
--- a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder.xml
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder.xml
@@ -216,7 +216,7 @@
         </item>
         <item>
             <key> <string>simulation_select_method_id</string> </key>
-            <value> <string>SaleOrder_selectBPMMovement</string> </value>
+            <value> <string>SaleOrder_selectMovement</string> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/bt5/erp5_bpm/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_bpm/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
deleted file mode 100644
index 1a9102651d..0000000000
--- a/bt5/erp5_bpm/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<allowed_content_type_list>
- <portal_type id="BPM Delivery Rule">
-  <item>Property Divergence Tester</item>
-  <item>Quantity Divergence Tester</item>
-  <item>Category Divergence Tester</item>
- </portal_type>
- <portal_type id="BPM Invoice Transaction Rule">
-  <item>Quantity Divergence Tester</item>
-  <item>Property Divergence Tester</item>
-  <item>Category Divergence Tester</item>
-  <item>Predicate</item>
-  <item>Accounting Rule Cell</item>
- </portal_type>
- <portal_type id="BPM Invoicing Rule">
-  <item>Property Divergence Tester</item>
-  <item>Category Divergence Tester</item>
-  <item>Quantity Divergence Tester</item>
- </portal_type>
- <portal_type id="BPM Order Rule">
-  <item>Property Divergence Tester</item>
-  <item>Quantity Divergence Tester</item>
-  <item>Category Divergence Tester</item>
- </portal_type>
- <portal_type id="Rule Tool">
-  <item>BPM Order Rule</item>
-  <item>BPM Invoice Transaction Rule</item>
-  <item>BPM Invoicing Rule</item>
-  <item>BPM Delivery Rule</item>
- </portal_type>
-</allowed_content_type_list>
\ No newline at end of file
diff --git a/bt5/erp5_bpm/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml b/bt5/erp5_bpm/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
deleted file mode 100644
index 29eacd4bec..0000000000
--- a/bt5/erp5_bpm/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<hidden_content_type_list>
- <portal_type id="BPM Invoice Transaction Rule">
-  <item>Accounting Rule Cell</item>
- </portal_type>
-</hidden_content_type_list>
\ No newline at end of file
diff --git a/bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Delivery%20Rule.xml b/bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Delivery%20Rule.xml
deleted file mode 100644
index 2e503a17c6..0000000000
--- a/bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Delivery%20Rule.xml
+++ /dev/null
@@ -1,167 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_actions</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_aliases</string> </key>
-            <value>
-              <dictionary/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_property_domain_dict</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>short_title</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>title</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-                    </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-        <item>
-            <key> <string>_roles</string> </key>
-            <value>
-              <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>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>base_category_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>content_icon</string> </key>
-            <value> <string>document_icon.gif</string> </value>
-        </item>
-        <item>
-            <key> <string>content_meta_type</string> </key>
-            <value> <string>ERP5 BPM Delivery Rule</string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string>    DISCLAIMER: Refer to BPMRule docstring disclaimer.\n
-\n
-    This is BPM enabled Delivery Rule.\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>factory</string> </key>
-            <value> <string>addBPMDeliveryRule</string> </value>
-        </item>
-        <item>
-            <key> <string>filter_content_types</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-        <item>
-            <key> <string>group_list</string> </key>
-            <value>
-              <tuple>
-                <string>rule</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>hidden_content_type_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>BPM Delivery Rule</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>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>domain_name</string> </key>
-            <value> <string>erp5_content</string> </value>
-        </item>
-        <item>
-            <key> <string>property_name</string> </key>
-            <value> <string>short_title</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <tuple>
-        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>domain_name</string> </key>
-            <value> <string>erp5_content</string> </value>
-        </item>
-        <item>
-            <key> <string>property_name</string> </key>
-            <value> <string>title</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Invoice%20Transaction%20Rule.xml b/bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Invoice%20Transaction%20Rule.xml
deleted file mode 100644
index bdc613b61a..0000000000
--- a/bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Invoice%20Transaction%20Rule.xml
+++ /dev/null
@@ -1,167 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_actions</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_aliases</string> </key>
-            <value>
-              <dictionary/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_property_domain_dict</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>short_title</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>title</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-                    </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-        <item>
-            <key> <string>_roles</string> </key>
-            <value>
-              <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>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>base_category_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>content_icon</string> </key>
-            <value> <string>document_icon.gif</string> </value>
-        </item>
-        <item>
-            <key> <string>content_meta_type</string> </key>
-            <value> <string>ERP5 BPM Invoice Transaction Rule</string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string>    DISCLAIMER: Refer to BPMRule docstring disclaimer.\n
-\n
-    This is BPM enabled Invoice Transaction Rule.\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>factory</string> </key>
-            <value> <string>addBPMInvoiceTransactionRule</string> </value>
-        </item>
-        <item>
-            <key> <string>filter_content_types</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-        <item>
-            <key> <string>group_list</string> </key>
-            <value>
-              <tuple>
-                <string>rule</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>hidden_content_type_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>BPM Invoice Transaction Rule</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>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>domain_name</string> </key>
-            <value> <string>erp5_content</string> </value>
-        </item>
-        <item>
-            <key> <string>property_name</string> </key>
-            <value> <string>short_title</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <tuple>
-        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>domain_name</string> </key>
-            <value> <string>erp5_content</string> </value>
-        </item>
-        <item>
-            <key> <string>property_name</string> </key>
-            <value> <string>title</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Invoicing%20Rule.xml b/bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Invoicing%20Rule.xml
deleted file mode 100644
index b2cde03791..0000000000
--- a/bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Invoicing%20Rule.xml
+++ /dev/null
@@ -1,167 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_actions</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_aliases</string> </key>
-            <value>
-              <dictionary/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_property_domain_dict</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>short_title</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>title</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-                    </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-        <item>
-            <key> <string>_roles</string> </key>
-            <value>
-              <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>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>base_category_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>content_icon</string> </key>
-            <value> <string>document_icon.gif</string> </value>
-        </item>
-        <item>
-            <key> <string>content_meta_type</string> </key>
-            <value> <string>ERP5 BPM Invoicing Rule</string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string>    DISCLAIMER: Refer to BPMRule docstring disclaimer.\n
-\n
-    This is BPM enabled Invoicing Rule\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>factory</string> </key>
-            <value> <string>addBPMInvoicingRule</string> </value>
-        </item>
-        <item>
-            <key> <string>filter_content_types</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-        <item>
-            <key> <string>group_list</string> </key>
-            <value>
-              <tuple>
-                <string>rule</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>hidden_content_type_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>BPM Invoicing Rule</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>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>domain_name</string> </key>
-            <value> <string>erp5_content</string> </value>
-        </item>
-        <item>
-            <key> <string>property_name</string> </key>
-            <value> <string>short_title</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <tuple>
-        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>domain_name</string> </key>
-            <value> <string>erp5_content</string> </value>
-        </item>
-        <item>
-            <key> <string>property_name</string> </key>
-            <value> <string>title</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Order%20Rule.xml b/bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Order%20Rule.xml
deleted file mode 100644
index ee6dd74285..0000000000
--- a/bt5/erp5_bpm/PortalTypeTemplateItem/portal_types/BPM%20Order%20Rule.xml
+++ /dev/null
@@ -1,167 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_actions</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_aliases</string> </key>
-            <value>
-              <dictionary/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_property_domain_dict</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>short_title</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>title</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-                    </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-        <item>
-            <key> <string>_roles</string> </key>
-            <value>
-              <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>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>base_category_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>content_icon</string> </key>
-            <value> <string>document_icon.gif</string> </value>
-        </item>
-        <item>
-            <key> <string>content_meta_type</string> </key>
-            <value> <string>ERP5 BPM Order Rule</string> </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string>    DISCLAIMER: Refer to BPMRule docstring disclaimer.\n
-\n
-    This is BPM enabled Order Rule.\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>factory</string> </key>
-            <value> <string>addBPMOrderRule</string> </value>
-        </item>
-        <item>
-            <key> <string>filter_content_types</string> </key>
-            <value> <int>1</int> </value>
-        </item>
-        <item>
-            <key> <string>group_list</string> </key>
-            <value>
-              <tuple>
-                <string>rule</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>hidden_content_type_list</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>BPM Order Rule</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>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>domain_name</string> </key>
-            <value> <string>erp5_content</string> </value>
-        </item>
-        <item>
-            <key> <string>property_name</string> </key>
-            <value> <string>short_title</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <tuple>
-        <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>domain_name</string> </key>
-            <value> <string>erp5_content</string> </value>
-        </item>
-        <item>
-            <key> <string>property_name</string> </key>
-            <value> <string>title</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_bpm/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index 918ec97a4b..15900d44a7 100644
--- a/bt5/erp5_bpm/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_bpm/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -1,20 +1,4 @@
 <workflow_chain>
- <chain>
-  <type>BPM Delivery Rule</type>
-  <workflow>edit_workflow, rule_validation_workflow</workflow>
- </chain>
- <chain>
-  <type>BPM Invoice Transaction Rule</type>
-  <workflow>rule_interaction_workflow, rule_validation_workflow, edit_workflow</workflow>
- </chain>
- <chain>
-  <type>BPM Invoicing Rule</type>
-  <workflow>rule_validation_workflow, edit_workflow</workflow>
- </chain>
- <chain>
-  <type>BPM Order Rule</type>
-  <workflow>rule_validation_workflow, edit_workflow</workflow>
- </chain>
  <chain>
   <type>Purchase Order</type>
   <workflow>delivery_build_interaction_workflow</workflow>
diff --git a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/BPMInvoiceTransactionRule_asCellRange.xml b/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/BPMInvoiceTransactionRule_asCellRange.xml
deleted file mode 100644
index a7490a642e..0000000000
--- a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/BPMInvoiceTransactionRule_asCellRange.xml
+++ /dev/null
@@ -1,174 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>dimension_list = [\'tax_category\', \'product\', \'region\', \'product_line\',\n
-                  \'destination_region\', \'has_vat_number\', \'movement\']\n
-\n
-for pred in context.objectValues(portal_type=\'Predicate\'):\n
-  if pred.getStringIndex() not in dimension_list:\n
-    dimension_list.append(pred.getStringIndex())\n
-\n
-if list_dimensions:\n
-  return dimension_list\n
-\n
-dimension_result_list = []\n
-\n
-for dimension in dimension_list:\n
-  if dimension is not None:\n
-    predicate_list = [x for x in context.contentValues(portal_type=\'Predicate\')\n
-                       if x.getStringIndex() == dimension ]\n
-    predicate_list.sort(key=lambda x: x.getProperty(\'int_index\', 1))\n
-    if len(predicate_list):\n
-      dimension_result_list.append(predicate_list)\n
-\n
-dimension_ids_list = []\n
-\n
-if matrixbox:\n
-  for dimension_result in dimension_result_list:\n
-    dimension_ids_list.append(\n
-              [(x.getObject().getId(),\n
-                x.getObject().getTitle()) for x in dimension_result])\n
-else :\n
-  for dimension_result in dimension_result_list :\n
-    dimension_ids_list.append(\n
-          [x.getObject().getId() for x in dimension_result])\n
-\n
-return dimension_ids_list\n
-# vim: syntax=python\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>matrixbox=0, list_dimensions=0, **kw</string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>2</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>matrixbox</string>
-                            <string>list_dimensions</string>
-                            <string>kw</string>
-                            <string>dimension_list</string>
-                            <string>_getiter_</string>
-                            <string>_getattr_</string>
-                            <string>context</string>
-                            <string>pred</string>
-                            <string>dimension_result_list</string>
-                            <string>dimension</string>
-                            <string>None</string>
-                            <string>append</string>
-                            <string>$append0</string>
-                            <string>x</string>
-                            <string>predicate_list</string>
-                            <string>len</string>
-                            <string>dimension_ids_list</string>
-                            <string>dimension_result</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <tuple>
-                <int>0</int>
-                <int>0</int>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>BPMInvoiceTransactionRule_asCellRange</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/BPMInvoiceTransactionRulke_asPredicate.xml b/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/BPMInvoiceTransactionRulke_asPredicate.xml
deleted file mode 100644
index 7316549777..0000000000
--- a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/BPMInvoiceTransactionRulke_asPredicate.xml
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>return context.generatePredicate(criterion_property_list=("start_date",))\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>_getattr_</string>
-                            <string>context</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>BPMInvoiceTransactionRulke_asPredicate</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/Delivery_updateAppliedRule.xml b/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/Delivery_updateAppliedRule.xml
deleted file mode 100644
index 5b19deb14f..0000000000
--- a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/Delivery_updateAppliedRule.xml
+++ /dev/null
@@ -1,149 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>from Products.ERP5Type.Log import log\n
-\n
-log(\'%s\' % script.id, \'WARNING! Using BPM experimental evaluation on %s\' % context.getPath())\n
-delivery = context\n
-\n
-applied_rule = delivery.getRuleReference()\n
-if applied_rule is None:\n
-  # No need to add a rule, but still we need to expand the delivery\n
-  # if at least one of its movements is simulated.\n
-  for m in delivery.getMovementList():\n
-    if m.isSimulated():\n
-      delivery.activate(activate_kw=activate_kw).expand(**kw)\n
-      return\n
-elif applied_rule:\n
-  delivery.updateAppliedRule(rule_reference=applied_rule, activate_kw=activate_kw, **kw)\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>activate_kw=None, **kw</string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>1</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>activate_kw</string>
-                            <string>kw</string>
-                            <string>Products.ERP5Type.Log</string>
-                            <string>log</string>
-                            <string>_getattr_</string>
-                            <string>script</string>
-                            <string>context</string>
-                            <string>delivery</string>
-                            <string>applied_rule</string>
-                            <string>None</string>
-                            <string>_getiter_</string>
-                            <string>m</string>
-                            <string>_apply_</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <tuple>
-                <none/>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>Delivery_updateAppliedRule</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/PurchaseOrder_getRuleReference.xml b/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/PurchaseOrder_getRuleReference.xml
deleted file mode 100644
index 86512ea341..0000000000
--- a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/PurchaseOrder_getRuleReference.xml
+++ /dev/null
@@ -1,119 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>return \'default_bpm_order_rule\'\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple/>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>PurchaseOrder_getRuleReference</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/PurchasePackingListOrder_getRuleReference.xml b/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/PurchasePackingListOrder_getRuleReference.xml
deleted file mode 100644
index 14cfc549a6..0000000000
--- a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/PurchasePackingListOrder_getRuleReference.xml
+++ /dev/null
@@ -1,119 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>return \'default_bpm_delivery_rule\'\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple/>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>PurchasePackingListOrder_getRuleReference</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SaleInvoiceTransaction_selectPackingListBPMMovement.xml b/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SaleInvoiceTransaction_selectPackingListBPMMovement.xml
deleted file mode 100644
index a8d1401556..0000000000
--- a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SaleInvoiceTransaction_selectPackingListBPMMovement.xml
+++ /dev/null
@@ -1,135 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>kw[\'parent_specialise_portal_type\']  = \'BPM Invoicing Rule\'\n
-kw[\'explanation_portal_type\']        = [\'Sale Order\', \'Sale Packing List\']\n
-kw[\'portal_type\']                    = \'Simulation Movement\'\n
-\n
-kw.update(context.portal_catalog.buildSQLQuery(**kw))\n
-\n
-return [movement.getObject() for movement in context.InvoiceTransaction_zSelectMovement(**kw) if movement.isBuildable()]\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>**kw</string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>kw</string>
-                            <string>_write_</string>
-                            <string>_getattr_</string>
-                            <string>_apply_</string>
-                            <string>context</string>
-                            <string>append</string>
-                            <string>$append0</string>
-                            <string>_getiter_</string>
-                            <string>movement</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>SaleInvoiceTransaction_selectPackingListBPMMovement</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SaleOrder_getRuleReference.xml b/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SaleOrder_getRuleReference.xml
deleted file mode 100644
index d9bcbeb8c7..0000000000
--- a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SaleOrder_getRuleReference.xml
+++ /dev/null
@@ -1,119 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>return \'default_bpm_order_rule\'\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple/>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>SaleOrder_getRuleReference</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SaleOrder_selectBPMMovement.xml b/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SaleOrder_selectBPMMovement.xml
deleted file mode 100644
index f5a9f6053d..0000000000
--- a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SaleOrder_selectBPMMovement.xml
+++ /dev/null
@@ -1,154 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>kw[\'parent_specialise_portal_type\'] = [\'BPM Order Rule\', \'BPM Delivery Rule\']\n
-kw[\'explanation_portal_type\'] = \'Sale Order\'\n
-kw[\'portal_type\']             = \'Simulation Movement\'\n
-kw[\'simulation_state\']        = \'confirmed\'\n
-\n
-kw.update(context.portal_catalog.buildSQLQuery(**kw))\n
-\n
-if src__==0:\n
-  return [x.getObject() for x in context.Order_zSelectMovement(**kw) if x.isBuildable()]\n
-else:\n
-  return context.Order_zSelectMovement(src__=1, **kw)\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>src__=0, **kw</string> </value>
-        </item>
-        <item>
-            <key> <string>_proxy_roles</string> </key>
-            <value>
-              <tuple>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>1</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>src__</string>
-                            <string>kw</string>
-                            <string>_write_</string>
-                            <string>_getattr_</string>
-                            <string>_apply_</string>
-                            <string>context</string>
-                            <string>append</string>
-                            <string>$append0</string>
-                            <string>_getiter_</string>
-                            <string>x</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <tuple>
-                <int>0</int>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>SaleOrder_selectBPMMovement</string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SalePackingList_getRuleReference.xml b/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SalePackingList_getRuleReference.xml
deleted file mode 100644
index a0dfcb7866..0000000000
--- a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SalePackingList_getRuleReference.xml
+++ /dev/null
@@ -1,119 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>return \'default_bpm_delivery_rule\'\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple/>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>SalePackingList_getRuleReference</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testBPMInvoiceTransactionRule.xml b/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testBPMInvoiceTransactionRule.xml
deleted file mode 100644
index 956ee935f8..0000000000
--- a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testBPMInvoiceTransactionRule.xml
+++ /dev/null
@@ -1,148 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>movement = context\n
-\n
-parent = movement.getParentValue()\n
-if parent.getPortalType() != \'Applied Rule\':\n
-  return False\n
-\n
-parent_rule = parent.getSpecialiseValue()\n
-if parent_rule.getPortalType() not in (\'Invoice Rule\',\n
-                                       \'BPM Invoicing Rule\',\n
-                                       \'Trade Model Rule\',\n
-                                       \'Tax Rule\'):\n
-  return False\n
-\n
-delivery_movement = movement.getDeliveryValue()\n
-if delivery_movement is not None and (\n
-   delivery_movement.getPortalType() not in movement.getPortalInvoiceMovementTypeList()\n
-    and delivery_movement.getPortalType() not in movement.getPortalTaxMovementTypeList()):\n
-  return False\n
-\n
-return rule.getMatchingCell(movement) is not None\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>rule</string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>1</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>rule</string>
-                            <string>context</string>
-                            <string>movement</string>
-                            <string>_getattr_</string>
-                            <string>parent</string>
-                            <string>False</string>
-                            <string>parent_rule</string>
-                            <string>delivery_movement</string>
-                            <string>None</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>SimulationMovement_testBPMInvoiceTransactionRule</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testBPMInvoicingRule.xml b/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testBPMInvoicingRule.xml
deleted file mode 100644
index 638b3e4e05..0000000000
--- a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testBPMInvoicingRule.xml
+++ /dev/null
@@ -1,145 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>movement = context\n
-\n
-parent = movement.getParentValue()\n
-if parent.getPortalType() == \'Applied Rule\':\n
-  parent_rule = parent.getSpecialiseValue()\n
-  if parent_rule.getPortalType() not in [\'BPM Order Rule\', \'BPM Delivery Rule\']:\n
-    return False\n
-\n
-source_section = movement.getSourceSection()\n
-destination_section = movement.getDestinationSection()\n
-if source_section == destination_section or source_section is None \\\n
-    or destination_section is None:\n
-  return False\n
-\n
-return True\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>rule</string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>1</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>rule</string>
-                            <string>context</string>
-                            <string>movement</string>
-                            <string>_getattr_</string>
-                            <string>parent</string>
-                            <string>parent_rule</string>
-                            <string>False</string>
-                            <string>source_section</string>
-                            <string>destination_section</string>
-                            <string>None</string>
-                            <string>True</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>SimulationMovement_testBPMInvoicingRule</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testTradeModelRule.xml b/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testTradeModelRule.xml
deleted file mode 100644
index e2065ca40d..0000000000
--- a/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testTradeModelRule.xml
+++ /dev/null
@@ -1,140 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>movement = context\n
-\n
-parent = movement.getParentValue()\n
-if parent.getPortalType() != \'Applied Rule\':\n
-  return False\n
-\n
-parent_rule = parent.getSpecialiseValue()\n
-if parent_rule.getPortalType() not in (\'Invoice Rule\',\n
-                                       \'Invoicing Rule\',\n
-                                       \'BPM Invoicing Rule\'):\n
-  return False\n
-\n
-return True\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>rule</string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>1</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>rule</string>
-                            <string>context</string>
-                            <string>movement</string>
-                            <string>_getattr_</string>
-                            <string>parent</string>
-                            <string>False</string>
-                            <string>parent_rule</string>
-                            <string>True</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>SimulationMovement_testTradeModelRule</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>
diff --git a/bt5/erp5_bpm/bt/revision b/bt5/erp5_bpm/bt/revision
index b6e27607fb..104fcf5b4e 100644
--- a/bt5/erp5_bpm/bt/revision
+++ b/bt5/erp5_bpm/bt/revision
@@ -1 +1 @@
-242
\ No newline at end of file
+243
\ No newline at end of file
diff --git a/bt5/erp5_bpm/bt/template_action_path_list b/bt5/erp5_bpm/bt/template_action_path_list
index 13fdc2fde3..b13b0b7cc6 100644
--- a/bt5/erp5_bpm/bt/template_action_path_list
+++ b/bt5/erp5_bpm/bt/template_action_path_list
@@ -1,8 +1,3 @@
-BPM Delivery Rule | view
-BPM Invoice Transaction Rule | view
-BPM Invoice Transaction Rule | view_divergence_testers
-BPM Invoicing Rule | view
-BPM Order Rule | view
 Delivery Builder | view_periodicity
 Delivery Tool | view
 Order Builder | view_periodicity
\ No newline at end of file
diff --git a/bt5/erp5_bpm/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_bpm/bt/template_portal_type_allowed_content_type_list
index 77a5776ee0..e69de29bb2 100644
--- a/bt5/erp5_bpm/bt/template_portal_type_allowed_content_type_list
+++ b/bt5/erp5_bpm/bt/template_portal_type_allowed_content_type_list
@@ -1,18 +0,0 @@
-BPM Delivery Rule | Category Divergence Tester
-BPM Delivery Rule | Property Divergence Tester
-BPM Delivery Rule | Quantity Divergence Tester
-BPM Invoice Transaction Rule | Accounting Rule Cell
-BPM Invoice Transaction Rule | Category Divergence Tester
-BPM Invoice Transaction Rule | Predicate
-BPM Invoice Transaction Rule | Property Divergence Tester
-BPM Invoice Transaction Rule | Quantity Divergence Tester
-BPM Invoicing Rule | Category Divergence Tester
-BPM Invoicing Rule | Property Divergence Tester
-BPM Invoicing Rule | Quantity Divergence Tester
-BPM Order Rule | Category Divergence Tester
-BPM Order Rule | Property Divergence Tester
-BPM Order Rule | Quantity Divergence Tester
-Rule Tool | BPM Delivery Rule
-Rule Tool | BPM Invoice Transaction Rule
-Rule Tool | BPM Invoicing Rule
-Rule Tool | BPM Order Rule
\ No newline at end of file
diff --git a/bt5/erp5_bpm/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_bpm/bt/template_portal_type_hidden_content_type_list
index 1c257d53e0..e69de29bb2 100644
--- a/bt5/erp5_bpm/bt/template_portal_type_hidden_content_type_list
+++ b/bt5/erp5_bpm/bt/template_portal_type_hidden_content_type_list
@@ -1 +0,0 @@
-BPM Invoice Transaction Rule | Accounting Rule Cell
\ No newline at end of file
diff --git a/bt5/erp5_bpm/bt/template_portal_type_id_list b/bt5/erp5_bpm/bt/template_portal_type_id_list
index 4ff34f34ba..65ac9ad3bb 100644
--- a/bt5/erp5_bpm/bt/template_portal_type_id_list
+++ b/bt5/erp5_bpm/bt/template_portal_type_id_list
@@ -1,6 +1,2 @@
-BPM Delivery Rule
-BPM Invoice Transaction Rule
-BPM Invoicing Rule
-BPM Order Rule
 Delivery Builder
 Order Builder
\ No newline at end of file
diff --git a/bt5/erp5_bpm/bt/template_portal_type_workflow_chain_list b/bt5/erp5_bpm/bt/template_portal_type_workflow_chain_list
index dff1e0d18b..85ed73a22a 100644
--- a/bt5/erp5_bpm/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_bpm/bt/template_portal_type_workflow_chain_list
@@ -1,12 +1,3 @@
-BPM Delivery Rule | edit_workflow
-BPM Delivery Rule | rule_validation_workflow
-BPM Invoice Transaction Rule | edit_workflow
-BPM Invoice Transaction Rule | rule_interaction_workflow
-BPM Invoice Transaction Rule | rule_validation_workflow
-BPM Invoicing Rule | edit_workflow
-BPM Invoicing Rule | rule_validation_workflow
-BPM Order Rule | edit_workflow
-BPM Order Rule | rule_validation_workflow
 Purchase Order | delivery_build_interaction_workflow
 Purchase Packing List | delivery_build_interaction_workflow
 Sale Order | delivery_build_interaction_workflow
-- 
2.30.9