From 815e33a7e4c18cbeeddcc50e85c4726e815c82f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Wed, 22 Jul 2009 14:02:13 +0000
Subject: [PATCH]  - provide example BPM enabled builders and use them on
 default process

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28138 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_default_business_process.xml         |   8 -
 .../erp5_default_business_process/1.xml       |   4 +
 .../erp5_default_business_process/2.xml       |   4 +
 .../erp5_default_business_process/4.xml       |   4 +
 .../erp5_default_business_process/6.xml       |   3 +-
 .../erp5_default_business_process/7.xml       |   3 +-
 .../bpm_sale_invoice_builder.xml              | 191 +++++++++++++++++
 .../base_variant_movement_group_in_line.xml   |  45 ++++
 .../category_movement_group_on_delivery.xml   |  66 ++++++
 .../category_movement_group_on_line.xml       |  62 ++++++
 .../causality_movement_group_on_delivery.xml  |  45 ++++
 ...assignement_movement_group_on_delivery.xml |  45 ++++
 .../property_movement_group_on_delivery.xml   |  55 +++++
 .../property_movement_group_on_line.xml       |  56 +++++
 .../variant_movement_group_on_cell.xml        |  46 +++++
 .../bpm_sale_packing_list_builder.xml         | 193 ++++++++++++++++++
 .../base_variant_movement_group_in_line.xml   |  45 ++++
 .../category_movement_group_on_delivery.xml   |  64 ++++++
 .../category_movement_group_on_line.xml       |  56 +++++
 ...lity_assignment_movement_group_on_cell.xml |  45 ++++
 ...lity_assignment_movement_group_on_line.xml |  45 ++++
 .../order_movement_group_on_delivery.xml      |  45 ++++
 .../property_movement_group_on_delivery.xml   |  55 +++++
 .../property_movement_group_on_line.xml       |  56 +++++
 .../variant_movement_group_on_cell.xml        |  46 +++++
 bt5/erp5_bpm/bt/template_path_list            |   4 +
 26 files changed, 1279 insertions(+), 12 deletions(-)
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/base_variant_movement_group_in_line.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/category_movement_group_on_delivery.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/category_movement_group_on_line.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/causality_movement_group_on_delivery.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/delivery_causality_assignement_movement_group_on_delivery.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/property_movement_group_on_delivery.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/property_movement_group_on_line.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/variant_movement_group_on_cell.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/base_variant_movement_group_in_line.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/category_movement_group_on_delivery.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/category_movement_group_on_line.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/causality_assignment_movement_group_on_cell.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/causality_assignment_movement_group_on_line.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/order_movement_group_on_delivery.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/property_movement_group_on_delivery.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/property_movement_group_on_line.xml
 create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/variant_movement_group_on_cell.xml

diff --git a/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process.xml b/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process.xml
index 32d9212ca3..b3fb05d589 100644
--- a/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process.xml
+++ b/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process.xml
@@ -17,9 +17,7 @@
                 <string>Assignor</string>
                 <string>Associate</string>
                 <string>Auditor</string>
-                <string>Author</string>
                 <string>Manager</string>
-                <string>Owner</string>
               </tuple>
             </value>
         </item>
@@ -30,9 +28,7 @@
                 <string>Assignee</string>
                 <string>Assignor</string>
                 <string>Associate</string>
-                <string>Author</string>
                 <string>Manager</string>
-                <string>Owner</string>
               </tuple>
             </value>
         </item>
@@ -43,9 +39,7 @@
                 <string>Assignee</string>
                 <string>Assignor</string>
                 <string>Associate</string>
-                <string>Author</string>
                 <string>Manager</string>
-                <string>Owner</string>
               </tuple>
             </value>
         </item>
@@ -57,9 +51,7 @@
                 <string>Assignor</string>
                 <string>Associate</string>
                 <string>Auditor</string>
-                <string>Author</string>
                 <string>Manager</string>
-                <string>Owner</string>
               </tuple>
             </value>
         </item>
diff --git a/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/1.xml b/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/1.xml
index 4466ffd4ec..ce8163d2a2 100644
--- a/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/1.xml
+++ b/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/1.xml
@@ -27,6 +27,10 @@
               <none/>
             </value>
         </item>
+        <item>
+            <key> <string>document_id</string> </key>
+            <value> <string>1</string> </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>1</string> </value>
diff --git a/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/2.xml b/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/2.xml
index 3edbee9892..bbc7ebd749 100644
--- a/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/2.xml
+++ b/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/2.xml
@@ -27,6 +27,10 @@
               <none/>
             </value>
         </item>
+        <item>
+            <key> <string>document_id</string> </key>
+            <value> <string>2</string> </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>2</string> </value>
diff --git a/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/4.xml b/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/4.xml
index 7e30160d63..d9c3d044b0 100644
--- a/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/4.xml
+++ b/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/4.xml
@@ -27,6 +27,10 @@
               <none/>
             </value>
         </item>
+        <item>
+            <key> <string>document_id</string> </key>
+            <value> <string>4</string> </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>4</string> </value>
diff --git a/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/6.xml b/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/6.xml
index 2f7f302abf..8b04c9ee1b 100644
--- a/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/6.xml
+++ b/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/6.xml
@@ -83,8 +83,7 @@
                 <string>destination_stage/business_process_module/erp5_default_business_process/2</string>
                 <string>predecessor/business_process_module/erp5_default_business_process/1</string>
                 <string>successor/business_process_module/erp5_default_business_process/2</string>
-                <string>delivery_builder/portal_deliveries/purchase_packing_list_builder</string>
-                <string>delivery_builder/portal_deliveries/sale_packing_list_builder</string>
+                <string>delivery_builder/portal_deliveries/bpm_sale_packing_list_builder</string>
                 <string>trade_phase/default/delivery</string>
               </tuple>
             </value>
diff --git a/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/7.xml b/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/7.xml
index d209ba6251..b9888b7988 100644
--- a/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/7.xml
+++ b/bt5/erp5_bpm/PathTemplateItem/business_process_module/erp5_default_business_process/7.xml
@@ -81,10 +81,9 @@
               <tuple>
                 <string>source_stage/business_process_module/erp5_default_business_process/2</string>
                 <string>destination_stage/business_process_module/erp5_default_business_process/3</string>
-                <string>delivery_builder/portal_deliveries/purchase_invoice_builder</string>
-                <string>delivery_builder/portal_deliveries/sale_invoice_builder</string>
                 <string>predecessor/business_process_module/erp5_default_business_process/2</string>
                 <string>successor/business_process_module/erp5_default_business_process/10</string>
+                <string>delivery_builder/portal_deliveries/bpm_sale_invoice_builder</string>
                 <string>trade_phase/default/invoicing</string>
               </tuple>
             </value>
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
new file mode 100644
index 0000000000..0e2aa4f0a4
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder.xml
@@ -0,0 +1,191 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="DeliveryBuilder" module="Products.ERP5Type.Document.DeliveryBuilder"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_count</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_mt_index</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_tree</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>collect_order</string> </key>
+            <value>
+              <tuple>
+                <string>OrderMovementGroup</string>
+                <string>PathMovementGroup</string>
+                <string>DateMovementGroup</string>
+                <string>ResourceMovementGroup</string>
+                <string>VariantMovementGroup</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>collect_order_list</string> </key>
+            <value>
+              <list>
+                <string>test</string>
+                <string>test2</string>
+              </list>
+            </value>
+        </item>
+        <item>
+            <key> <string>collect_order_list_id</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>comment</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_after_generation_method_id</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_after_generation_script_id</string> </key>
+            <value> <string>InvoiceTransaction_postGenerationBPM</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_cell_collect_order</string> </key>
+            <value>
+              <tuple>
+                <string>VariantMovementGroup</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_cell_portal_type</string> </key>
+            <value> <string>Invoice Cell</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_cell_separate_order</string> </key>
+            <value>
+              <tuple>
+                <string>calculateSeparatePrice</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_collect_order</string> </key>
+            <value>
+              <tuple>
+                <string>DateMovementGroup</string>
+                <string>PathMovementGroup</string>
+                <string>SectionPathMovementGroup</string>
+                <string>CausalityMovementGroup</string>
+                <string>DecisionPathMovementGroup</string>
+                <string>AdministrationPathMovementGroup</string>
+                <string>PriceCurrencyMovementGroup</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_line_collect_order</string> </key>
+            <value>
+              <tuple>
+                <string>ResourceMovementGroup</string>
+                <string>BaseVariantMovementGroup</string>
+                <string>BaseContributionMovementGroup</string>
+                <string>AggregateMovementGroup</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_line_portal_type</string> </key>
+            <value> <string>Invoice Line</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_module</string> </key>
+            <value> <string>accounting_module</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_portal_type</string> </key>
+            <value> <string>Sale Invoice Transaction</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_select_method_id</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Builds Sale Invoices from Packing list related simulation movements</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>bpm_sale_invoice_builder</string> </value>
+        </item>
+        <item>
+            <key> <string>last_id</string> </key>
+            <value> <string>4</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Delivery Builder</string> </value>
+        </item>
+        <item>
+            <key> <string>resource_portal_type</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>simulation_select_method_id</string> </key>
+            <value> <string>SaleInvoiceTransaction_selectPackingListBPMMovement</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>BPM Sale Invoice Builder</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="Length" module="BTrees.Length"/>
+    </pickle>
+    <pickle> <int>0</int> </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="OOBTree" module="BTrees._OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <global name="OOBTree" module="BTrees._OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/base_variant_movement_group_in_line.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/base_variant_movement_group_in_line.xml
new file mode 100644
index 0000000000..31f679d133
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/base_variant_movement_group_in_line.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="BaseVariantMovementGroup" module="Products.ERP5Type.Document.BaseVariantMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>collect_order_group/line</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>base_variant_movement_group_in_line</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>2</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Base Variant Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>base_variant_movement_group_in_line</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/category_movement_group_on_delivery.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/category_movement_group_on_delivery.xml
new file mode 100644
index 0000000000..811b3fda71
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/category_movement_group_on_delivery.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMovementGroup" module="Products.ERP5Type.Document.CategoryMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>divergence_scope/category</string>
+                <string>collect_order_group/delivery</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>category_movement_group_on_delivery</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>2</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>delivery_mode</string>
+                <string>incoterm</string>
+                <string>source</string>
+                <string>destination</string>
+                <string>source_section</string>
+                <string>destination_section</string>
+                <string>source_decision</string>
+                <string>destination_decision</string>
+                <string>source_administration</string>
+                <string>destination_administration</string>
+                <string>source_project</string>
+                <string>destination_project</string>
+                <string>price_currency</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>category_movement_group_on_delivery</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/category_movement_group_on_line.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/category_movement_group_on_line.xml
new file mode 100644
index 0000000000..b117eee734
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/category_movement_group_on_line.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMovementGroup" module="Products.ERP5Type.Document.CategoryMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>divergence_scope/category</string>
+                <string>collect_order_group/line</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>category_movement_group_on_line</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>resource</string>
+                <string>aggregate</string>
+                <string>quantity_unit</string>
+                <string>base_contribution</string>
+                <string>base_application</string>
+                <string>source_function</string>
+                <string>destination_function</string>
+                <string>source_account</string>
+                <string>destination_account</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>category_movement_group_on_line</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/causality_movement_group_on_delivery.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/causality_movement_group_on_delivery.xml
new file mode 100644
index 0000000000..2e46b8dab5
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/causality_movement_group_on_delivery.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CausalityMovementGroup" module="Products.ERP5Type.Document.CausalityMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>collect_order_group/delivery</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>causality_movement_group_on_delivery</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Causality Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>causality_movement_group_on_delivery</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/delivery_causality_assignement_movement_group_on_delivery.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/delivery_causality_assignement_movement_group_on_delivery.xml
new file mode 100644
index 0000000000..f81ff42007
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/delivery_causality_assignement_movement_group_on_delivery.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="DeliveryCausalityAssignmentMovementGroup" module="Products.ERP5Type.Document.DeliveryCausalityAssignmentMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>collect_order_group/delivery</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>delivery_causality_assignement_movement_group_on_delivery</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>100</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Delivery Causality Assignment Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Delivery Causality Assignement Movement Group On Delivery</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/property_movement_group_on_delivery.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/property_movement_group_on_delivery.xml
new file mode 100644
index 0000000000..0b3b538898
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/property_movement_group_on_delivery.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="PropertyMovementGroup" module="Products.ERP5Type.Document.PropertyMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>divergence_scope/property</string>
+                <string>collect_order_group/delivery</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>property_movement_group_on_delivery</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>start_date</string>
+                <string>stop_date</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>property_movement_group_on_delivery</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/property_movement_group_on_line.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/property_movement_group_on_line.xml
new file mode 100644
index 0000000000..60c8e585b2
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/property_movement_group_on_line.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="PropertyMovementGroup" module="Products.ERP5Type.Document.PropertyMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>divergence_scope/property</string>
+                <string>collect_order_group/line</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>property_movement_group_on_line</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>2</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>description</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/variant_movement_group_on_cell.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/variant_movement_group_on_cell.xml
new file mode 100644
index 0000000000..5e3d139019
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_invoice_builder/variant_movement_group_on_cell.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="VariantMovementGroup" module="Products.ERP5Type.Document.VariantMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>collect_order_group/cell</string>
+                <string>divergence_scope/category</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>variant_movement_group_on_cell</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Variant Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>variant_movement_group_on_cell</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
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
new file mode 100644
index 0000000000..6178e20418
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder.xml
@@ -0,0 +1,193 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="DeliveryBuilder" module="Products.ERP5Type.Document.DeliveryBuilder"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_count</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_mt_index</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_tree</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>collect_order</string> </key>
+            <value>
+              <tuple>
+                <string>OrderMovementGroup</string>
+                <string>PathMovementGroup</string>
+                <string>DateMovementGroup</string>
+                <string>ResourceMovementGroup</string>
+                <string>VariantMovementGroup</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>collect_order_list</string> </key>
+            <value>
+              <list>
+                <string>test</string>
+                <string>test2</string>
+              </list>
+            </value>
+        </item>
+        <item>
+            <key> <string>collect_order_list_id</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>comment</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_after_generation_method_id</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_after_generation_script_id</string> </key>
+            <value> <string>SalePackingList_copyOrderProperties</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_cell_collect_order</string> </key>
+            <value>
+              <tuple>
+                <string>VariantMovementGroup</string>
+                <string>CausalityAssignmentMovementGroup</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_cell_portal_type</string> </key>
+            <value> <string>Sale Packing List Cell</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_cell_separate_order</string> </key>
+            <value>
+              <tuple>
+                <string>calculateAveragePrice</string>
+                <string>calculateAddQuantity</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_collect_order</string> </key>
+            <value>
+              <tuple>
+                <string>OrderMovementGroup</string>
+                <string>DateMovementGroup</string>
+                <string>PathMovementGroup</string>
+                <string>SectionPathMovementGroup</string>
+                <string>PriceCurrencyMovementGroup</string>
+                <string>DecisionPathMovementGroup</string>
+                <string>AdministrationPathMovementGroup</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_line_collect_order</string> </key>
+            <value>
+              <tuple>
+                <string>ResourceMovementGroup</string>
+                <string>BaseVariantMovementGroup</string>
+                <string>AggregateMovementGroup</string>
+                <string>CausalityAssignmentMovementGroup</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>delivery_line_portal_type</string> </key>
+            <value> <string>Sale Packing List Line</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_module</string> </key>
+            <value> <string>sale_packing_list_module</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_portal_type</string> </key>
+            <value> <string>Sale Packing List</string> </value>
+        </item>
+        <item>
+            <key> <string>delivery_select_method_id</string> </key>
+            <value> <string>DeliverBuilder_selectConfirmedDeliveryList</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>bpm_sale_packing_list_builder</string> </value>
+        </item>
+        <item>
+            <key> <string>last_id</string> </key>
+            <value> <string>13</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Delivery Builder</string> </value>
+        </item>
+        <item>
+            <key> <string>resource_portal_type</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>simulation_select_method_id</string> </key>
+            <value> <string>SaleOrder_selectBPMMovement</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>BPM Sale Packing List Builder</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="Length" module="BTrees.Length"/>
+    </pickle>
+    <pickle> <int>0</int> </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="OOBTree" module="BTrees._OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <global name="OOBTree" module="BTrees._OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/base_variant_movement_group_in_line.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/base_variant_movement_group_in_line.xml
new file mode 100644
index 0000000000..31f679d133
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/base_variant_movement_group_in_line.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="BaseVariantMovementGroup" module="Products.ERP5Type.Document.BaseVariantMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>collect_order_group/line</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>base_variant_movement_group_in_line</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>2</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Base Variant Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>base_variant_movement_group_in_line</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/category_movement_group_on_delivery.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/category_movement_group_on_delivery.xml
new file mode 100644
index 0000000000..b638e074fb
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/category_movement_group_on_delivery.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMovementGroup" module="Products.ERP5Type.Document.CategoryMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>divergence_scope/category</string>
+                <string>collect_order_group/delivery</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>category_movement_group_on_delivery</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>delivery_mode</string>
+                <string>incoterm</string>
+                <string>source</string>
+                <string>destination</string>
+                <string>source_section</string>
+                <string>destination_section</string>
+                <string>source_decision</string>
+                <string>destination_decision</string>
+                <string>source_administration</string>
+                <string>destination_administration</string>
+                <string>price_currency</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>category_movement_group_on_delivery</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/category_movement_group_on_line.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/category_movement_group_on_line.xml
new file mode 100644
index 0000000000..faad04f99f
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/category_movement_group_on_line.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMovementGroup" module="Products.ERP5Type.Document.CategoryMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>divergence_scope/category</string>
+                <string>collect_order_group/line</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>category_movement_group_on_line</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>resource</string>
+                <string>aggregate</string>
+                <string>quantity_unit</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>category_movement_group_on_line</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/causality_assignment_movement_group_on_cell.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/causality_assignment_movement_group_on_cell.xml
new file mode 100644
index 0000000000..21bd347ba5
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/causality_assignment_movement_group_on_cell.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CausalityAssignmentMovementGroup" module="Products.ERP5Type.Document.CausalityAssignmentMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>collect_order_group/cell</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>causality_assignment_movement_group_on_cell</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>2</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Causality Assignment Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>causality_assignment_movement_group_on_cell</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/causality_assignment_movement_group_on_line.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/causality_assignment_movement_group_on_line.xml
new file mode 100644
index 0000000000..a77106f4c6
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/causality_assignment_movement_group_on_line.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CausalityAssignmentMovementGroup" module="Products.ERP5Type.Document.CausalityAssignmentMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>collect_order_group/line</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>causality_assignment_movement_group_on_line</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Causality Assignment Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>causality_assignment_movement_group_on_line</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/order_movement_group_on_delivery.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/order_movement_group_on_delivery.xml
new file mode 100644
index 0000000000..dd83abc1e0
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/order_movement_group_on_delivery.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="OrderMovementGroup" module="Products.ERP5Type.Document.OrderMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>collect_order_group/delivery</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>order_movement_group_on_delivery</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Order Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>order_movement_group_on_delivery</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/property_movement_group_on_delivery.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/property_movement_group_on_delivery.xml
new file mode 100644
index 0000000000..6dea91d70c
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/property_movement_group_on_delivery.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="PropertyMovementGroup" module="Products.ERP5Type.Document.PropertyMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>divergence_scope/property</string>
+                <string>collect_order_group/delivery</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>property_movement_group_on_delivery</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>2</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>start_date</string>
+                <string>stop_date</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>property_movement_group_on_delivery</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/property_movement_group_on_line.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/property_movement_group_on_line.xml
new file mode 100644
index 0000000000..60c8e585b2
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/property_movement_group_on_line.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="PropertyMovementGroup" module="Products.ERP5Type.Document.PropertyMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>divergence_scope/property</string>
+                <string>collect_order_group/line</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>property_movement_group_on_line</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>2</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>description</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/variant_movement_group_on_cell.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/variant_movement_group_on_cell.xml
new file mode 100644
index 0000000000..5e3d139019
--- /dev/null
+++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/bpm_sale_packing_list_builder/variant_movement_group_on_cell.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="VariantMovementGroup" module="Products.ERP5Type.Document.VariantMovementGroup"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>collect_order_group/cell</string>
+                <string>divergence_scope/category</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>variant_movement_group_on_cell</string> </value>
+        </item>
+        <item>
+            <key> <string>int_index</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Variant Movement Group</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>variant_movement_group_on_cell</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_bpm/bt/template_path_list b/bt5/erp5_bpm/bt/template_path_list
index dbe0d8708b..989ef4b3ed 100644
--- a/bt5/erp5_bpm/bt/template_path_list
+++ b/bt5/erp5_bpm/bt/template_path_list
@@ -4,6 +4,10 @@ portal_categories/end_of
 portal_categories/end_of/**
 portal_categories/trade_phase/default
 portal_categories/trade_phase/default/**
+portal_deliveries/bpm_sale_invoice_builder
+portal_deliveries/bpm_sale_invoice_builder/**
+portal_deliveries/bpm_sale_packing_list_builder
+portal_deliveries/bpm_sale_packing_list_builder/**
 portal_rules/default_bpm_delivery_rule
 portal_rules/default_bpm_delivery_rule/**
 portal_rules/default_bpm_invoice_transaction_rule
-- 
2.30.9