From b376f29ab8c36b5b3f85b2af86b39b69b207a2e6 Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Wed, 16 Mar 2011 06:03:01 +0000 Subject: [PATCH] Allow Embeeded File instead Spreadsheet git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44329 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../allowed_content_types.xml | 4 +-- ...es%20Spreadsheet%20Configurator%20Item.xml | 8 +++++- ...es%20Spreadsheet%20Configurator%20Item.xml | 26 ++++++++++++++++--- bt5/erp5_configurator/bt/revision | 2 +- ...late_portal_type_allowed_content_type_list | 4 +-- 5 files changed, 35 insertions(+), 9 deletions(-) diff --git a/bt5/erp5_configurator/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_configurator/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml index cdb980c90b..440fdc434c 100644 --- a/bt5/erp5_configurator/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml +++ b/bt5/erp5_configurator/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -8,8 +8,8 @@ <item>Business Configuration</item> </portal_type> <portal_type id="Categories Spreadsheet Configurator Item"> + <item>Embedded File</item> <item>File</item> - <item>Spreadsheet</item> </portal_type> <portal_type id="Configuration Save"> <item>Account Configurator Item</item> @@ -46,6 +46,6 @@ <item>Telephone</item> </portal_type> <portal_type id="Portal Type Roles Spreadsheet Configurator Item"> - <item>Spreadsheet</item> + <item>Embedded File</item> </portal_type> </allowed_content_type_list> \ No newline at end of file diff --git a/bt5/erp5_configurator/PortalTypeTemplateItem/portal_types/Categories%20Spreadsheet%20Configurator%20Item.xml b/bt5/erp5_configurator/PortalTypeTemplateItem/portal_types/Categories%20Spreadsheet%20Configurator%20Item.xml index db3c6b5ea1..6486029825 100644 --- a/bt5/erp5_configurator/PortalTypeTemplateItem/portal_types/Categories%20Spreadsheet%20Configurator%20Item.xml +++ b/bt5/erp5_configurator/PortalTypeTemplateItem/portal_types/Categories%20Spreadsheet%20Configurator%20Item.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> + <global name="Base Type" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> @@ -79,6 +79,12 @@ <key> <string>type_class</string> </key> <value> <string>CategoriesSpreadsheetConfiguratorItem</string> </value> </item> + <item> + <key> <string>type_interface</string> </key> + <value> + <tuple/> + </value> + </item> <item> <key> <string>type_mixin</string> </key> <value> diff --git a/bt5/erp5_configurator/PortalTypeTemplateItem/portal_types/Portal%20Type%20Roles%20Spreadsheet%20Configurator%20Item.xml b/bt5/erp5_configurator/PortalTypeTemplateItem/portal_types/Portal%20Type%20Roles%20Spreadsheet%20Configurator%20Item.xml index bda3578c47..81d698fb11 100644 --- a/bt5/erp5_configurator/PortalTypeTemplateItem/portal_types/Portal%20Type%20Roles%20Spreadsheet%20Configurator%20Item.xml +++ b/bt5/erp5_configurator/PortalTypeTemplateItem/portal_types/Portal%20Type%20Roles%20Spreadsheet%20Configurator%20Item.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> + <global name="Base Type" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> @@ -43,16 +43,36 @@ </item> <item> <key> <string>init_script</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>permission</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>type_class</string> </key> + <value> <string>PortalTypeRolesSpreadsheetConfiguratorItem</string> </value> + </item> + <item> + <key> <string>type_interface</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>type_mixin</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_configurator/bt/revision b/bt5/erp5_configurator/bt/revision index 266217da54..473995f402 100644 --- a/bt5/erp5_configurator/bt/revision +++ b/bt5/erp5_configurator/bt/revision @@ -1 +1 @@ -493 \ No newline at end of file +494 \ No newline at end of file diff --git a/bt5/erp5_configurator/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_configurator/bt/template_portal_type_allowed_content_type_list index b391fb97aa..1e971bc8ab 100644 --- a/bt5/erp5_configurator/bt/template_portal_type_allowed_content_type_list +++ b/bt5/erp5_configurator/bt/template_portal_type_allowed_content_type_list @@ -2,8 +2,8 @@ Business Configuration Module | Business Configuration Business Configuration | Configuration Save Business Configuration | File Business Configuration | Link +Categories Spreadsheet Configurator Item | Embedded File Categories Spreadsheet Configurator Item | File -Categories Spreadsheet Configurator Item | Spreadsheet Configuration Save | Account Configurator Item Configuration Save | Accounting Period Configurator Item Configuration Save | Catalog Keyword Key Configurator Item @@ -32,4 +32,4 @@ Person Configurator Item | Address Person Configurator Item | Career Person Configurator Item | Email Person Configurator Item | Telephone -Portal Type Roles Spreadsheet Configurator Item | Spreadsheet \ No newline at end of file +Portal Type Roles Spreadsheet Configurator Item | Embedded File \ No newline at end of file -- 2.30.9