From 321a95fbb9f29b5c8b7178b286b9db2488dd4b31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 8 Jan 2009 12:20:37 +0000 Subject: [PATCH] don't acquire local roles remove obsolete categories git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25058 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../budget_cell_variation.xml | 48 ------------------- .../budget_line_variation.xml | 47 ------------------ .../base_category_list.xml | 4 -- .../portal_types/Budget.xml | 2 +- bt5/erp5_budget/bt/revision | 2 +- .../bt/template_base_category_list | 2 - 6 files changed, 2 insertions(+), 103 deletions(-) delete mode 100644 bt5/erp5_budget/CategoryTemplateItem/portal_categories/budget_cell_variation.xml delete mode 100644 bt5/erp5_budget/CategoryTemplateItem/portal_categories/budget_line_variation.xml diff --git a/bt5/erp5_budget/CategoryTemplateItem/portal_categories/budget_cell_variation.xml b/bt5/erp5_budget/CategoryTemplateItem/portal_categories/budget_cell_variation.xml deleted file mode 100644 index 1679d0398d..0000000000 --- a/bt5/erp5_budget/CategoryTemplateItem/portal_categories/budget_cell_variation.xml +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="BaseCategory" module="Products.ERP5Type.Document.BaseCategory"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>acquisition_base_category</string> </key> - <value> - <tuple> - <string>parent</string> - </tuple> - </value> - </item> - <item> - <key> <string>categories</string> </key> - <value> - <tuple> - <string>budget_line_variation</string> - <string>budget_cell_variation</string> - </tuple> - </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Budget variations used for cells</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>budget_cell_variation</string> </value> - </item> - <item> - <key> <string>portal_type</string> </key> - <value> <string>Base Category</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Budget Cell Variation</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_budget/CategoryTemplateItem/portal_categories/budget_line_variation.xml b/bt5/erp5_budget/CategoryTemplateItem/portal_categories/budget_line_variation.xml deleted file mode 100644 index 016d5ce796..0000000000 --- a/bt5/erp5_budget/CategoryTemplateItem/portal_categories/budget_line_variation.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="BaseCategory" module="Products.ERP5Type.Document.BaseCategory"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>acquisition_base_category</string> </key> - <value> - <tuple> - <string>parent</string> - </tuple> - </value> - </item> - <item> - <key> <string>categories</string> </key> - <value> - <tuple> - <string>budget_line_variation</string> - </tuple> - </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Budget variations used for lines</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>budget_line_variation</string> </value> - </item> - <item> - <key> <string>portal_type</string> </key> - <value> <string>Base Category</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Budget Line Variation</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_budget/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_budget/PortalTypeBaseCategoryTemplateItem/base_category_list.xml index 579a02815c..84ec895b68 100644 --- a/bt5/erp5_budget/PortalTypeBaseCategoryTemplateItem/base_category_list.xml +++ b/bt5/erp5_budget/PortalTypeBaseCategoryTemplateItem/base_category_list.xml @@ -4,10 +4,6 @@ <item>budget_type</item> </portal_type> <portal_type id="Budget Line"> - <item>group</item> - <item>region</item> - <item>budget_section</item> - <item>financial_section</item> <item>budget_line_type</item> </portal_type> <portal_type id="Budget Transaction"> diff --git a/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Budget.xml b/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Budget.xml index b941b4e3ab..a12301531d 100644 --- a/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Budget.xml +++ b/bt5/erp5_budget/PortalTypeTemplateItem/portal_types/Budget.xml @@ -29,7 +29,7 @@ </item> <item> <key> <string>acquire_local_roles</string> </key> - <value> <int>1</int> </value> + <value> <int>0</int> </value> </item> <item> <key> <string>allowed_content_types</string> </key> diff --git a/bt5/erp5_budget/bt/revision b/bt5/erp5_budget/bt/revision index cd004727f2..80945bc436 100644 --- a/bt5/erp5_budget/bt/revision +++ b/bt5/erp5_budget/bt/revision @@ -1 +1 @@ -182 \ No newline at end of file +183 \ No newline at end of file diff --git a/bt5/erp5_budget/bt/template_base_category_list b/bt5/erp5_budget/bt/template_base_category_list index a6aaad9320..71bf8cdd5f 100644 --- a/bt5/erp5_budget/bt/template_base_category_list +++ b/bt5/erp5_budget/bt/template_base_category_list @@ -1,6 +1,4 @@ -budget_cell_variation budget_line_type -budget_line_variation budget_section budget_type budget_variation \ No newline at end of file -- 2.30.9