From 9c3a63dd183262b052ecda9d4f7917689c665068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 27 Mar 2007 15:54:35 +0000 Subject: [PATCH] Added source_region and destination_region (they were in erp5_accounting) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13728 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_categories/destination_region.xml | 240 ++++++++++++++++++ .../portal_categories/source_region.xml | 239 +++++++++++++++++ bt5/erp5_base/bt/revision | 2 +- bt5/erp5_base/bt/template_base_category_list | 2 + 4 files changed, 482 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_base/CategoryTemplateItem/portal_categories/destination_region.xml create mode 100644 bt5/erp5_base/CategoryTemplateItem/portal_categories/source_region.xml diff --git a/bt5/erp5_base/CategoryTemplateItem/portal_categories/destination_region.xml b/bt5/erp5_base/CategoryTemplateItem/portal_categories/destination_region.xml new file mode 100644 index 0000000000..e885f22d29 --- /dev/null +++ b/bt5/erp5_base/CategoryTemplateItem/portal_categories/destination_region.xml @@ -0,0 +1,240 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.Document.BaseCategory</string> + <string>BaseCategory</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <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>acquisition_append_value</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>acquisition_base_category</string> </key> + <value> + <tuple> + <string>target_destination</string> + <string>destination</string> + <string>destination_section</string> + </tuple> + </value> + </item> + <item> + <key> <string>acquisition_copy_value</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>acquisition_mask_value</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>acquisition_object_id</string> </key> + <value> + <tuple> + <string>A virtual Category which allows to access the region of destination value of a Movement as if it were a category.</string> + </tuple> + </value> + </item> + <item> + <key> <string>acquisition_portal_type</string> </key> + <value> <string>python:()</string> </value> + </item> + <item> + <key> <string>acquisition_sync_value</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>destination_region</string> + </tuple> + </value> + </item> + <item> + <key> <string>category_type</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>criterion_property</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>fallback_base_category</string> </key> + <value> + <tuple> + <string>region</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>destination_region</string> </value> + </item> + <item> + <key> <string>id_generator</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id_group</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>last_id</string> </key> + <value> <string>1</string> </value> + </item> + <item> + <key> <string>membership_criterion_base_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>membership_criterion_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>multimembership_criterion_base_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Base Category</string> </value> + </item> + <item> + <key> <string>read_permission</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>rid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>sid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Destination Region</string> </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>write_permission</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> + </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> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_base/CategoryTemplateItem/portal_categories/source_region.xml b/bt5/erp5_base/CategoryTemplateItem/portal_categories/source_region.xml new file mode 100644 index 0000000000..ae6f4ee127 --- /dev/null +++ b/bt5/erp5_base/CategoryTemplateItem/portal_categories/source_region.xml @@ -0,0 +1,239 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.Document.BaseCategory</string> + <string>BaseCategory</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <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>acquisition_append_value</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>acquisition_base_category</string> </key> + <value> + <tuple> + <string>target_source</string> + <string>source</string> + </tuple> + </value> + </item> + <item> + <key> <string>acquisition_copy_value</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>acquisition_mask_value</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>acquisition_object_id</string> </key> + <value> + <tuple> + <string>A virtual Category which allows to access the region of section value of a Movement as if it were a category.</string> + </tuple> + </value> + </item> + <item> + <key> <string>acquisition_portal_type</string> </key> + <value> <string>python:()</string> </value> + </item> + <item> + <key> <string>acquisition_sync_value</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>source_region</string> + </tuple> + </value> + </item> + <item> + <key> <string>category_type</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>criterion_property</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>fallback_base_category</string> </key> + <value> + <tuple> + <string>region</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>source_region</string> </value> + </item> + <item> + <key> <string>id_generator</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id_group</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>last_id</string> </key> + <value> <string>1</string> </value> + </item> + <item> + <key> <string>membership_criterion_base_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>membership_criterion_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>multimembership_criterion_base_category</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Base Category</string> </value> + </item> + <item> + <key> <string>read_permission</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>rid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>sid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Source Region</string> </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>write_permission</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> + </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> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <tuple> + <tuple> + <string>BTrees.OOBTree</string> + <string>OOBTree</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision index d97edbb29f..105d7d9ad3 100644 --- a/bt5/erp5_base/bt/revision +++ b/bt5/erp5_base/bt/revision @@ -1 +1 @@ -99 \ No newline at end of file +100 \ No newline at end of file diff --git a/bt5/erp5_base/bt/template_base_category_list b/bt5/erp5_base/bt/template_base_category_list index a6ba59d86c..9004e4ef20 100644 --- a/bt5/erp5_base/bt/template_base_category_list +++ b/bt5/erp5_base/bt/template_base_category_list @@ -1,6 +1,7 @@ agent agent_privilege currency_exchange_type +destination_region economical_class function gender @@ -19,5 +20,6 @@ salary_level site skill social_form +source_region specialise subordination \ No newline at end of file -- 2.30.9