From 6a6bfbc5ac63fef3d3cec0b64e2f5262df21f816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Wed, 6 May 2009 11:14:58 +0000 Subject: [PATCH] - use First Causality Movement Group instead of Causality Movement Group to have global builder supporting proper grouping of parent's orphaned movements git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26831 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../causality_movement_group_on_delivery.xml | 43 +++++++++++++++++++ .../causality_movement_group_on_delivery.xml | 43 +++++++++++++++++++ bt5/erp5_bpm/bt/revision | 2 +- bt5/erp5_bpm/bt/template_path_list | 2 + 4 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/purchase_invoice_transaction_builder/causality_movement_group_on_delivery.xml create mode 100644 bt5/erp5_bpm/PathTemplateItem/portal_deliveries/sale_invoice_transaction_builder/causality_movement_group_on_delivery.xml diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/purchase_invoice_transaction_builder/causality_movement_group_on_delivery.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/purchase_invoice_transaction_builder/causality_movement_group_on_delivery.xml new file mode 100644 index 0000000000..9bc70513c9 --- /dev/null +++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/purchase_invoice_transaction_builder/causality_movement_group_on_delivery.xml @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="FirstCausalityMovementGroup" module="Products.ERP5Type.Document.FirstCausalityMovementGroup"/> + <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> <string>BPM modification - used instead of Causality Movement Group to group orphaned parent movements coming from invoice</string> </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>1</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>First Causality Movement Group</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>First Causality Movement Group</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/sale_invoice_transaction_builder/causality_movement_group_on_delivery.xml b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/sale_invoice_transaction_builder/causality_movement_group_on_delivery.xml new file mode 100644 index 0000000000..9bc70513c9 --- /dev/null +++ b/bt5/erp5_bpm/PathTemplateItem/portal_deliveries/sale_invoice_transaction_builder/causality_movement_group_on_delivery.xml @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="FirstCausalityMovementGroup" module="Products.ERP5Type.Document.FirstCausalityMovementGroup"/> + <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> <string>BPM modification - used instead of Causality Movement Group to group orphaned parent movements coming from invoice</string> </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>1</int> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>First Causality Movement Group</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>First Causality Movement Group</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_bpm/bt/revision b/bt5/erp5_bpm/bt/revision index 83981c0e3a..12e2555919 100644 --- a/bt5/erp5_bpm/bt/revision +++ b/bt5/erp5_bpm/bt/revision @@ -1 +1 @@ -175 \ No newline at end of file +177 \ No newline at end of file diff --git a/bt5/erp5_bpm/bt/template_path_list b/bt5/erp5_bpm/bt/template_path_list index 29f93fd228..193c59b875 100644 --- a/bt5/erp5_bpm/bt/template_path_list +++ b/bt5/erp5_bpm/bt/template_path_list @@ -6,6 +6,8 @@ portal_categories/trade_phase portal_categories/trade_phase/default portal_categories/trade_phase/default/** portal_deliveries/purchase_invoice_builder/category_movement_group_on_line +portal_deliveries/purchase_invoice_transaction_builder/causality_movement_group_on_delivery portal_deliveries/sale_invoice_builder/category_movement_group_on_line +portal_deliveries/sale_invoice_transaction_builder/causality_movement_group_on_delivery portal_rules/default_trade_model_rule portal_rules/default_trade_model_rule/** \ No newline at end of file -- 2.30.9