From 71d2ca724d3f6ee32f57e592212aa2805502f3d4 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Wed, 19 Sep 2012 17:26:56 +0200 Subject: [PATCH] Add capacity scope base category --- .../portal_categories/capacity_scope.xml | 97 +++++++++++++++++++ bt5/erp5_computer_immobilisation/bt/revision | 2 +- .../bt/template_base_category_list | 1 + 3 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_computer_immobilisation/CategoryTemplateItem/portal_categories/capacity_scope.xml diff --git a/bt5/erp5_computer_immobilisation/CategoryTemplateItem/portal_categories/capacity_scope.xml b/bt5/erp5_computer_immobilisation/CategoryTemplateItem/portal_categories/capacity_scope.xml new file mode 100644 index 0000000000..df8b80abf2 --- /dev/null +++ b/bt5/erp5_computer_immobilisation/CategoryTemplateItem/portal_categories/capacity_scope.xml @@ -0,0 +1,97 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Base Category" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_folders_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Copy_or_Move_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Delete_objects_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>acquisition_base_category</string> </key> + <value> + <tuple> + <string>parent</string> + </tuple> + </value> + </item> + <item> + <key> <string>acquisition_portal_type</string> </key> + <value> <string>python:[\'Computer\']</string> </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>capacity_scope</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>capacity_scope</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>Capacity Scope</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_computer_immobilisation/bt/revision b/bt5/erp5_computer_immobilisation/bt/revision index 2e66562e27..c5b431b6cb 100644 --- a/bt5/erp5_computer_immobilisation/bt/revision +++ b/bt5/erp5_computer_immobilisation/bt/revision @@ -1 +1 @@ -49 \ No newline at end of file +50 \ No newline at end of file diff --git a/bt5/erp5_computer_immobilisation/bt/template_base_category_list b/bt5/erp5_computer_immobilisation/bt/template_base_category_list index e72c0ca344..171b6da335 100644 --- a/bt5/erp5_computer_immobilisation/bt/template_base_category_list +++ b/bt5/erp5_computer_immobilisation/bt/template_base_category_list @@ -1,4 +1,5 @@ allocation_scope +capacity_scope cpu_core cpu_frequency cpu_type -- 2.30.9