From 90ab844cc7ff2db4b4cf7ad601ff7f3718e03097 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Thu, 12 Aug 2010 13:41:23 +0000
Subject: [PATCH] add business path & state portal types in legacy bt5

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37767 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Business%20Path/profile.xml  |  85 +++++++++++++
 .../portal_types/Business%20Path/view.xml     |  85 +++++++++++++
 .../Business%20Path/view_advanced.xml         |  85 +++++++++++++
 .../portal_types/Business%20State/view.xml    |  85 +++++++++++++
 .../allowed_content_types.xml                 |   4 +
 .../property_sheet_list.xml                   |   6 +
 .../portal_types/Business%20Path.xml          | 120 ++++++++++++++++++
 .../portal_types/Business%20State.xml         | 120 ++++++++++++++++++
 bt5/erp5_legacy/bt/revision                   |   2 +-
 bt5/erp5_legacy/bt/template_action_path_list  |   4 +
 bt5/erp5_legacy/bt/template_path_list         |  50 ++++----
 ...late_portal_type_allowed_content_type_list |   2 +
 .../bt/template_portal_type_id_list           |   2 +
 .../template_portal_type_property_sheet_list  |   2 +
 14 files changed, 626 insertions(+), 26 deletions(-)
 create mode 100644 bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20Path/profile.xml
 create mode 100644 bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20Path/view.xml
 create mode 100644 bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20Path/view_advanced.xml
 create mode 100644 bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20State/view.xml
 create mode 100644 bt5/erp5_legacy/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
 create mode 100644 bt5/erp5_legacy/PortalTypeTemplateItem/portal_types/Business%20Path.xml
 create mode 100644 bt5/erp5_legacy/PortalTypeTemplateItem/portal_types/Business%20State.xml

diff --git a/bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20Path/profile.xml b/bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20Path/profile.xml
new file mode 100644
index 0000000000..33c72cefcd
--- /dev/null
+++ b/bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20Path/profile.xml
@@ -0,0 +1,85 @@
+<?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>categories</string> </key>
+            <value>
+              <tuple>
+                <string>action_type/object_view</string>
+              </tuple>
+            </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>profile</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>3.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Profile</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}/BusinessPath_viewProfile</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20Path/view.xml b/bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20Path/view.xml
new file mode 100644
index 0000000000..26dff186cd
--- /dev/null
+++ b/bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20Path/view.xml
@@ -0,0 +1,85 @@
+<?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>categories</string> </key>
+            <value>
+              <tuple>
+                <string>action_type/object_view</string>
+              </tuple>
+            </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}/BusinessPath_view</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20Path/view_advanced.xml b/bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20Path/view_advanced.xml
new file mode 100644
index 0000000000..dece649d86
--- /dev/null
+++ b/bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20Path/view_advanced.xml
@@ -0,0 +1,85 @@
+<?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>categories</string> </key>
+            <value>
+              <tuple>
+                <string>action_type/object_view</string>
+              </tuple>
+            </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_advanced</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>Advanced</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}/BusinessPath_viewAdvanced</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20State/view.xml b/bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20State/view.xml
new file mode 100644
index 0000000000..b0d20e54d5
--- /dev/null
+++ b/bt5/erp5_legacy/ActionTemplateItem/portal_types/Business%20State/view.xml
@@ -0,0 +1,85 @@
+<?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>categories</string> </key>
+            <value>
+              <tuple>
+                <string>action_type/object_view</string>
+              </tuple>
+            </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}/BusinessState_view</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_legacy/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_legacy/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
index 2413ca913e..0f1cf42721 100644
--- a/bt5/erp5_legacy/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
+++ b/bt5/erp5_legacy/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
@@ -1,4 +1,8 @@
 <allowed_content_type_list>
+ <portal_type id="Business Process">
+  <item>Business Path</item>
+  <item>Business State</item>
+ </portal_type>
  <portal_type id="Purchase Order">
   <item>Trade Model Line</item>
  </portal_type>
diff --git a/bt5/erp5_legacy/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_legacy/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
new file mode 100644
index 0000000000..025ecf39f2
--- /dev/null
+++ b/bt5/erp5_legacy/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
@@ -0,0 +1,6 @@
+<property_sheet_list>
+ <portal_type id="Business Path">
+  <item>PaymentCondition</item>
+  <item>SupplyPath</item>
+ </portal_type>
+</property_sheet_list>
\ No newline at end of file
diff --git a/bt5/erp5_legacy/PortalTypeTemplateItem/portal_types/Business%20Path.xml b/bt5/erp5_legacy/PortalTypeTemplateItem/portal_types/Business%20Path.xml
new file mode 100644
index 0000000000..cb93619bfa
--- /dev/null
+++ b/bt5/erp5_legacy/PortalTypeTemplateItem/portal_types/Business%20Path.xml
@@ -0,0 +1,120 @@
+<?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>_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>acquire_local_roles</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>content_icon</string> </key>
+            <value> <string>document.gif</string> </value>
+        </item>
+        <item>
+            <key> <string>content_meta_type</string> </key>
+            <value> <string>ERP5 Business Path</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Supply Link defines possible movements of resources between source and destination Supply Nodes. Each Supply Link is associated with one or more industrial phases.</string> </value>
+        </item>
+        <item>
+            <key> <string>factory</string> </key>
+            <value> <string>addBusinessPath</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/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>Business Path</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>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></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></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_legacy/PortalTypeTemplateItem/portal_types/Business%20State.xml b/bt5/erp5_legacy/PortalTypeTemplateItem/portal_types/Business%20State.xml
new file mode 100644
index 0000000000..122971c8ca
--- /dev/null
+++ b/bt5/erp5_legacy/PortalTypeTemplateItem/portal_types/Business%20State.xml
@@ -0,0 +1,120 @@
+<?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>_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>acquire_local_roles</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>content_icon</string> </key>
+            <value> <string>document.gif</string> </value>
+        </item>
+        <item>
+            <key> <string>content_meta_type</string> </key>
+            <value> <string>ERP5 Business State</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Defines node for graph used by Supply Chain</string> </value>
+        </item>
+        <item>
+            <key> <string>factory</string> </key>
+            <value> <string>addBusinessState</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/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>Business State</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>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></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></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_legacy/bt/revision b/bt5/erp5_legacy/bt/revision
index d8263ee986..bf0d87ab1b 100644
--- a/bt5/erp5_legacy/bt/revision
+++ b/bt5/erp5_legacy/bt/revision
@@ -1 +1 @@
-2
\ No newline at end of file
+4
\ No newline at end of file
diff --git a/bt5/erp5_legacy/bt/template_action_path_list b/bt5/erp5_legacy/bt/template_action_path_list
index f9069bacfe..7412af6b93 100644
--- a/bt5/erp5_legacy/bt/template_action_path_list
+++ b/bt5/erp5_legacy/bt/template_action_path_list
@@ -1,2 +1,6 @@
+Business Path | profile
+Business Path | view
+Business Path | view_advanced
+Business State | view
 Purchase Order | view_trade_model_line_list
 Sale Order | view_trade_model_line_list
\ No newline at end of file
diff --git a/bt5/erp5_legacy/bt/template_path_list b/bt5/erp5_legacy/bt/template_path_list
index 425f8b2eb6..c967b9a0c4 100644
--- a/bt5/erp5_legacy/bt/template_path_list
+++ b/bt5/erp5_legacy/bt/template_path_list
@@ -1,3 +1,27 @@
+portal_deliveries/internal_packing_list_builder
+portal_deliveries/internal_packing_list_builder/**
+portal_deliveries/payment_transaction_builder
+portal_deliveries/payment_transaction_builder/**
+portal_deliveries/purchase_invoice_builder
+portal_deliveries/purchase_invoice_builder/**
+portal_deliveries/purchase_invoice_transaction_builder
+portal_deliveries/purchase_invoice_transaction_builder/**
+portal_deliveries/purchase_invoice_transaction_trade_model_builder
+portal_deliveries/purchase_invoice_transaction_trade_model_builder/**
+portal_deliveries/purchase_packing_list_builder
+portal_deliveries/purchase_packing_list_builder/**
+portal_deliveries/sale_invoice_builder
+portal_deliveries/sale_invoice_builder/**
+portal_deliveries/sale_invoice_transaction_builder
+portal_deliveries/sale_invoice_transaction_builder/**
+portal_deliveries/sale_invoice_transaction_trade_model_builder
+portal_deliveries/sale_invoice_transaction_trade_model_builder/**
+portal_deliveries/sale_packing_list_builder
+portal_deliveries/sale_packing_list_builder/**
+portal_deliveries/task_invoice_builder
+portal_deliveries/task_invoice_builder/**
+portal_deliveries/task_report_builder
+portal_deliveries/task_report_builder/**
 portal_rules/default_accounting_transaction_root_simulation_rule
 portal_rules/default_accounting_transaction_root_simulation_rule/**
 portal_rules/default_delivery_root_simulation_rule
@@ -29,28 +53,4 @@ portal_rules/default_payment_simulation_rule/**
 portal_rules/default_trade_model_rule
 portal_rules/default_trade_model_rule/**
 portal_rules/default_trade_model_simulation_rule
-portal_rules/default_trade_model_simulation_rule/**
-portal_deliveries/internal_packing_list_builder
-portal_deliveries/internal_packing_list_builder/**
-portal_deliveries/payment_transaction_builder
-portal_deliveries/payment_transaction_builder/**
-portal_deliveries/purchase_invoice_builder
-portal_deliveries/purchase_invoice_builder/**
-portal_deliveries/purchase_invoice_transaction_builder
-portal_deliveries/purchase_invoice_transaction_builder/**
-portal_deliveries/purchase_invoice_transaction_trade_model_builder
-portal_deliveries/purchase_invoice_transaction_trade_model_builder/**
-portal_deliveries/purchase_packing_list_builder
-portal_deliveries/purchase_packing_list_builder/**
-portal_deliveries/sale_packing_list_builder
-portal_deliveries/sale_packing_list_builder/**
-portal_deliveries/sale_invoice_builder
-portal_deliveries/sale_invoice_builder/**
-portal_deliveries/sale_invoice_transaction_builder
-portal_deliveries/sale_invoice_transaction_builder/**
-portal_deliveries/sale_invoice_transaction_trade_model_builder
-portal_deliveries/sale_invoice_transaction_trade_model_builder/**
-portal_deliveries/task_invoice_builder
-portal_deliveries/task_invoice_builder/**
-portal_deliveries/task_report_builder
-portal_deliveries/task_report_builder/**
+portal_rules/default_trade_model_simulation_rule/**
\ No newline at end of file
diff --git a/bt5/erp5_legacy/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_legacy/bt/template_portal_type_allowed_content_type_list
index d4c7feb8f7..b0743aee6c 100644
--- a/bt5/erp5_legacy/bt/template_portal_type_allowed_content_type_list
+++ b/bt5/erp5_legacy/bt/template_portal_type_allowed_content_type_list
@@ -1,2 +1,4 @@
+Business Process | Business Path
+Business Process | Business State
 Purchase Order | Trade Model Line
 Sale Order | Trade Model Line
\ No newline at end of file
diff --git a/bt5/erp5_legacy/bt/template_portal_type_id_list b/bt5/erp5_legacy/bt/template_portal_type_id_list
index e69de29bb2..a8f51356f1 100644
--- a/bt5/erp5_legacy/bt/template_portal_type_id_list
+++ b/bt5/erp5_legacy/bt/template_portal_type_id_list
@@ -0,0 +1,2 @@
+Business Path
+Business State
\ No newline at end of file
diff --git a/bt5/erp5_legacy/bt/template_portal_type_property_sheet_list b/bt5/erp5_legacy/bt/template_portal_type_property_sheet_list
index e69de29bb2..c4e75e967d 100644
--- a/bt5/erp5_legacy/bt/template_portal_type_property_sheet_list
+++ b/bt5/erp5_legacy/bt/template_portal_type_property_sheet_list
@@ -0,0 +1,2 @@
+Business Path | PaymentCondition
+Business Path | SupplyPath
\ No newline at end of file
-- 
2.30.9