From c063fc5abef52e358eac1bfdbe76b0c061f84789 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Tue, 16 Sep 2008 19:51:01 +0000 Subject: [PATCH] 2008-09-16 Kazuhiko * revise production_packing_list_builder and production_report_builder using new API. * use delivery_causality_workflow instead of invoice_causality_workflow in Production Packing List and Production Report. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23653 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../production_packing_list_builder.xml | 36 +----------- .../base_variant_movement_group_in_line.xml | 45 +++++++++++++++ .../category_movement_group_on_delivery.xml | 57 +++++++++++++++++++ .../category_movement_group_on_line.xml | 54 ++++++++++++++++++ .../order_movement_group_on_delivery.xml | 45 +++++++++++++++ .../property_movement_group_on_delivery.xml | 55 ++++++++++++++++++ .../variant_movement_group_on_cell.xml | 45 +++++++++++++++ .../production_report_builder.xml | 36 +----------- .../base_variant_movement_group_in_line.xml | 45 +++++++++++++++ .../category_movement_group_on_delivery.xml | 57 +++++++++++++++++++ .../category_movement_group_on_line.xml | 54 ++++++++++++++++++ .../order_movement_group_on_delivery.xml | 45 +++++++++++++++ .../property_movement_group_on_delivery.xml | 55 ++++++++++++++++++ .../variant_movement_group_on_cell.xml | 45 +++++++++++++++ .../workflow_chain_type.xml | 4 +- bt5/erp5_mrp/bt/change_log | 4 ++ bt5/erp5_mrp/bt/revision | 2 +- bt5/erp5_mrp/bt/template_action_path_list | 2 - bt5/erp5_mrp/bt/template_path_list | 2 + .../template_portal_type_workflow_chain_list | 4 +- 20 files changed, 619 insertions(+), 73 deletions(-) create mode 100644 bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/base_variant_movement_group_in_line.xml create mode 100644 bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/category_movement_group_on_delivery.xml create mode 100644 bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/category_movement_group_on_line.xml create mode 100644 bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/order_movement_group_on_delivery.xml create mode 100644 bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/property_movement_group_on_delivery.xml create mode 100644 bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/variant_movement_group_on_cell.xml create mode 100644 bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/base_variant_movement_group_in_line.xml create mode 100644 bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/category_movement_group_on_delivery.xml create mode 100644 bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/category_movement_group_on_line.xml create mode 100644 bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/order_movement_group_on_delivery.xml create mode 100644 bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/property_movement_group_on_delivery.xml create mode 100644 bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/variant_movement_group_on_cell.xml diff --git a/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder.xml index 8a45cdcbab..2bc1e06f98 100644 --- a/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder.xml +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder.xml @@ -9,12 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_count</string> </key> <value> @@ -111,36 +105,18 @@ <key> <string>title</string> </key> <value> <string>Production Packing List Builder</string> </value> </item> - <item> - <key> <string>uid</string> </key> - <value> - <none/> - </value> - </item> </dictionary> </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> <pickle> - <tuple> - <tuple> - <string>BTrees.Length</string> - <string>Length</string> - </tuple> - <none/> - </tuple> + <global name="Length" module="BTrees.Length"/> </pickle> <pickle> <int>0</int> </pickle> </record> <record id="3" aka="AAAAAAAAAAM="> <pickle> - <tuple> - <tuple> - <string>BTrees.OOBTree</string> - <string>OOBTree</string> - </tuple> - <none/> - </tuple> + <global name="OOBTree" module="BTrees._OOBTree"/> </pickle> <pickle> <none/> @@ -148,13 +124,7 @@ </record> <record id="4" aka="AAAAAAAAAAQ="> <pickle> - <tuple> - <tuple> - <string>BTrees.OOBTree</string> - <string>OOBTree</string> - </tuple> - <none/> - </tuple> + <global name="OOBTree" module="BTrees._OOBTree"/> </pickle> <pickle> <none/> diff --git a/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/base_variant_movement_group_in_line.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/base_variant_movement_group_in_line.xml new file mode 100644 index 0000000000..31f679d133 --- /dev/null +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_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_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/category_movement_group_on_delivery.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/category_movement_group_on_delivery.xml new file mode 100644 index 0000000000..c2fd6ad3c3 --- /dev/null +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/category_movement_group_on_delivery.xml @@ -0,0 +1,57 @@ +<?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>source</string> + <string>destination</string> + <string>source_section</string> + <string>destination_section</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_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/category_movement_group_on_line.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/category_movement_group_on_line.xml new file mode 100644 index 0000000000..b94d9700bd --- /dev/null +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/category_movement_group_on_line.xml @@ -0,0 +1,54 @@ +<?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> + </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_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/order_movement_group_on_delivery.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/order_movement_group_on_delivery.xml new file mode 100644 index 0000000000..dd83abc1e0 --- /dev/null +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_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_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/property_movement_group_on_delivery.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/property_movement_group_on_delivery.xml new file mode 100644 index 0000000000..6dea91d70c --- /dev/null +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_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_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/variant_movement_group_on_cell.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/variant_movement_group_on_cell.xml new file mode 100644 index 0000000000..23383e8c58 --- /dev/null +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_packing_list_builder/variant_movement_group_on_cell.xml @@ -0,0 +1,45 @@ +<?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> + </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_mrp/PathTemplateItem/portal_deliveries/production_report_builder.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder.xml index 2709679db4..bb3b55cb21 100644 --- a/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder.xml +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder.xml @@ -9,12 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_count</string> </key> <value> @@ -111,36 +105,18 @@ <key> <string>title</string> </key> <value> <string>Production Report Builder</string> </value> </item> - <item> - <key> <string>uid</string> </key> - <value> - <none/> - </value> - </item> </dictionary> </pickle> </record> <record id="2" aka="AAAAAAAAAAI="> <pickle> - <tuple> - <tuple> - <string>BTrees.Length</string> - <string>Length</string> - </tuple> - <none/> - </tuple> + <global name="Length" module="BTrees.Length"/> </pickle> <pickle> <int>0</int> </pickle> </record> <record id="3" aka="AAAAAAAAAAM="> <pickle> - <tuple> - <tuple> - <string>BTrees.OOBTree</string> - <string>OOBTree</string> - </tuple> - <none/> - </tuple> + <global name="OOBTree" module="BTrees._OOBTree"/> </pickle> <pickle> <none/> @@ -148,13 +124,7 @@ </record> <record id="4" aka="AAAAAAAAAAQ="> <pickle> - <tuple> - <tuple> - <string>BTrees.OOBTree</string> - <string>OOBTree</string> - </tuple> - <none/> - </tuple> + <global name="OOBTree" module="BTrees._OOBTree"/> </pickle> <pickle> <none/> diff --git a/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/base_variant_movement_group_in_line.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/base_variant_movement_group_in_line.xml new file mode 100644 index 0000000000..31f679d133 --- /dev/null +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_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_mrp/PathTemplateItem/portal_deliveries/production_report_builder/category_movement_group_on_delivery.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/category_movement_group_on_delivery.xml new file mode 100644 index 0000000000..c2fd6ad3c3 --- /dev/null +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/category_movement_group_on_delivery.xml @@ -0,0 +1,57 @@ +<?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>source</string> + <string>destination</string> + <string>source_section</string> + <string>destination_section</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_mrp/PathTemplateItem/portal_deliveries/production_report_builder/category_movement_group_on_line.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/category_movement_group_on_line.xml new file mode 100644 index 0000000000..b94d9700bd --- /dev/null +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/category_movement_group_on_line.xml @@ -0,0 +1,54 @@ +<?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> + </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_mrp/PathTemplateItem/portal_deliveries/production_report_builder/order_movement_group_on_delivery.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/order_movement_group_on_delivery.xml new file mode 100644 index 0000000000..dd83abc1e0 --- /dev/null +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_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_mrp/PathTemplateItem/portal_deliveries/production_report_builder/property_movement_group_on_delivery.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/property_movement_group_on_delivery.xml new file mode 100644 index 0000000000..6dea91d70c --- /dev/null +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_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_mrp/PathTemplateItem/portal_deliveries/production_report_builder/variant_movement_group_on_cell.xml b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/variant_movement_group_on_cell.xml new file mode 100644 index 0000000000..23383e8c58 --- /dev/null +++ b/bt5/erp5_mrp/PathTemplateItem/portal_deliveries/production_report_builder/variant_movement_group_on_cell.xml @@ -0,0 +1,45 @@ +<?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> + </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_mrp/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_mrp/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml index f3fae449eb..6ed53a58b9 100644 --- a/bt5/erp5_mrp/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml +++ b/bt5/erp5_mrp/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml @@ -17,7 +17,7 @@ </chain> <chain> <type>Production Packing List</type> - <workflow>delivery_simulation_interaction_workflow, production_packing_list_workflow, production_packing_list_causality_workflow, edit_workflow, delivery_causality_interaction_workflow</workflow> + <workflow>delivery_simulation_interaction_workflow, production_packing_list_workflow, delivery_causality_workflow, edit_workflow, delivery_causality_interaction_workflow</workflow> </chain> <chain> <type>Production Packing List Cell</type> @@ -29,7 +29,7 @@ </chain> <chain> <type>Production Report</type> - <workflow>production_packing_list_causality_workflow, delivery_simulation_interaction_workflow, delivery_causality_interaction_workflow, production_packing_list_workflow, edit_workflow</workflow> + <workflow>delivery_simulation_interaction_workflow, delivery_causality_interaction_workflow, production_packing_list_workflow, edit_workflow, delivery_causality_workflow</workflow> </chain> <chain> <type>Production Report Cell</type> diff --git a/bt5/erp5_mrp/bt/change_log b/bt5/erp5_mrp/bt/change_log index baf894484a..052bd4b02c 100644 --- a/bt5/erp5_mrp/bt/change_log +++ b/bt5/erp5_mrp/bt/change_log @@ -1,3 +1,7 @@ +2008-09-16 Kazuhiko +* revise production_packing_list_builder and production_report_builder using new API. +* use delivery_causality_workflow instead of invoice_causality_workflow in Production Packing List and Production Report. + 2008-07-18 luke * bugfix release 1.0rc2 - delete all production_order_* selections from system after updating diff --git a/bt5/erp5_mrp/bt/revision b/bt5/erp5_mrp/bt/revision index 1c34b96390..96baa13486 100644 --- a/bt5/erp5_mrp/bt/revision +++ b/bt5/erp5_mrp/bt/revision @@ -1 +1 @@ -377 \ No newline at end of file +381 \ No newline at end of file diff --git a/bt5/erp5_mrp/bt/template_action_path_list b/bt5/erp5_mrp/bt/template_action_path_list index 1b440c2815..664653a02a 100644 --- a/bt5/erp5_mrp/bt/template_action_path_list +++ b/bt5/erp5_mrp/bt/template_action_path_list @@ -22,7 +22,6 @@ Production Packing List Line | quantity_view Production Packing List Line | view Production Packing List Line | view_price Production Packing List Module | view -Production Packing List | choose_solve_actions Production Packing List | packing_list_print Production Packing List | view Production Packing List | view_stock @@ -32,7 +31,6 @@ Production Report Line | quantity_view Production Report Line | view Production Report Line | view_price Production Report Module | view -Production Report | choose_solve_actions Production Report | packing_list_print Production Report | view Production Report | view_stock diff --git a/bt5/erp5_mrp/bt/template_path_list b/bt5/erp5_mrp/bt/template_path_list index fa502fd83b..b49a5ae158 100644 --- a/bt5/erp5_mrp/bt/template_path_list +++ b/bt5/erp5_mrp/bt/template_path_list @@ -1,5 +1,7 @@ portal_deliveries/production_packing_list_builder +portal_deliveries/production_packing_list_builder/** portal_deliveries/production_report_builder +portal_deliveries/production_report_builder/** portal_domains/production_order_module_specialise_domain portal_rules/default_production_order_rule portal_rules/default_production_order_rule/** diff --git a/bt5/erp5_mrp/bt/template_portal_type_workflow_chain_list b/bt5/erp5_mrp/bt/template_portal_type_workflow_chain_list index 8f4ebc1cbe..03f236a125 100644 --- a/bt5/erp5_mrp/bt/template_portal_type_workflow_chain_list +++ b/bt5/erp5_mrp/bt/template_portal_type_workflow_chain_list @@ -16,9 +16,9 @@ Production Packing List Line | delivery_movement_simulation_interaction_workflow Production Packing List Line | edit_workflow Production Packing List Line | production_matrix_workflow Production Packing List | delivery_causality_interaction_workflow +Production Packing List | delivery_causality_workflow Production Packing List | delivery_simulation_interaction_workflow Production Packing List | edit_workflow -Production Packing List | production_packing_list_causality_workflow Production Packing List | production_packing_list_workflow Production Report Cell | delivery_movement_causality_interaction_workflow Production Report Cell | delivery_movement_simulation_interaction_workflow @@ -27,9 +27,9 @@ Production Report Line | delivery_movement_simulation_interaction_workflow Production Report Line | edit_workflow Production Report Line | production_matrix_workflow Production Report | delivery_causality_interaction_workflow +Production Report | delivery_causality_workflow Production Report | delivery_simulation_interaction_workflow Production Report | edit_workflow -Production Report | production_packing_list_causality_workflow Production Report | production_packing_list_workflow Supply Chain | edit_workflow Supply Chain | validation_workflow -- 2.30.9