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 32d9212ca317bde4cd848dd44a1b27e2eb3e2abf..b3fb05d589463b9949882dd160c261b3ea92604b 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 4466ffd4ecb961cd8bdb03ba4d1d8971bb6cabf2..ce8163d2a2d54b6c3addcf05c4b7985cdc3213d4 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 3edbee98922f58e1759fb8314664ebe18e190b9b..bbc7ebd7497e35509e938a5607cf90b39e633e6c 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 7e30160d63be4bad210006685bce9bd9ca7c3f64..d9c3d044b0ee1842c5b1c56e8518e2bd9e82c283 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 2f7f302abf4c679be153505dab4821579ea76947..8b04c9ee1b1a181be75725708e8d26ea159c0316 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 d209ba62510240a1cabef0aaa0b08a5e5e62de3c..b9888b7988bd84947531e7b2c153781b3eb76ec0 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 0000000000000000000000000000000000000000..0e2aa4f0a4a9b7557744944d15156a279d50d616 --- /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 0000000000000000000000000000000000000000..31f679d133cbcb38215143994bdfd5282fc4a2e5 --- /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 0000000000000000000000000000000000000000..811b3fda712cc1045e83efca357171fa2242b03d --- /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 0000000000000000000000000000000000000000..b117eee73426d2caa01e145d23de45eeedc7afeb --- /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 0000000000000000000000000000000000000000..2e46b8dab532e6583ea24fe76cb72d0846e9002f --- /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 0000000000000000000000000000000000000000..f81ff420071db188b6ef17937fee871588803f0f --- /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 0000000000000000000000000000000000000000..0b3b5388980e41ec6ee0974b30243e96b18263e3 --- /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 0000000000000000000000000000000000000000..60c8e585b235d5cddb76ea7bf33082cdb8470ca0 --- /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 0000000000000000000000000000000000000000..5e3d139019f41c42317cf1508340ebe2d226c25c --- /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 0000000000000000000000000000000000000000..6178e204182dd41296b7605b1ae736b92a5619b7 --- /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 0000000000000000000000000000000000000000..31f679d133cbcb38215143994bdfd5282fc4a2e5 --- /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 0000000000000000000000000000000000000000..b638e074fba51c7a41bd4838fe6a9a147b85801a --- /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 0000000000000000000000000000000000000000..faad04f99f2d5b7b983ed92c4a18a40ff2ac0621 --- /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 0000000000000000000000000000000000000000..21bd347ba5a2e0fd99cf486b34af42eb80d51999 --- /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 0000000000000000000000000000000000000000..a77106f4c674efac1e3f9ab13a5f17479a6d475f --- /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 0000000000000000000000000000000000000000..dd83abc1e0afc873180621d18b7358bb2363fb55 --- /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 0000000000000000000000000000000000000000..6dea91d70c08448c5b571371c12a96a8655e839e --- /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 0000000000000000000000000000000000000000..60c8e585b235d5cddb76ea7bf33082cdb8470ca0 --- /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 0000000000000000000000000000000000000000..5e3d139019f41c42317cf1508340ebe2d226c25c --- /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 dbe0d8708b8980269db347aed17af31a7b65af16..989ef4b3ed53072b46d7dbd4c29281c9fd15514c 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