From 3c99af528306ea59948c84bdadf142a105bd4366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Thu, 14 Apr 2011 13:05:46 +0000 Subject: [PATCH] xml changes + required to activate flag acquire_local_roles git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45438 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Currency%20Exchange%20Cell.xml | 71 +++------- .../Currency%20Exchange%20Line.xml | 78 +++-------- .../portal_types/Currency%20Module.xml | 126 ++---------------- .../portal_types/Currency.xml | 75 +++-------- 4 files changed, 70 insertions(+), 280 deletions(-) diff --git a/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Cell.xml b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Cell.xml index 5adabd35b5..cce2b70883 100644 --- a/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Cell.xml +++ b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Cell.xml @@ -2,54 +2,13 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> - <tuple/> - </tuple> + <global name="Base Type" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_actions</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>_aliases</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_roles</string> </key> - <value> - <list/> - </value> - </item> - <item> - <key> <string>allowed_content_types</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>base_category_list</string> </key> - <value> - <tuple/> - </value> + <key> <string>acquire_local_roles</string> </key> + <value> <int>1</int> </value> </item> <item> <key> <string>content_icon</string> </key> @@ -71,30 +30,36 @@ <key> <string>filter_content_types</string> </key> <value> <int>1</int> </value> </item> - <item> - <key> <string>hidden_content_type_list</string> </key> - <value> - <tuple/> - </value> - </item> <item> <key> <string>id</string> </key> <value> <string>Currency Exchange Cell</string> </value> </item> <item> <key> <string>init_script</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> - <key> <string>property_sheet_list</string> </key> + <key> <string>permission</string> </key> <value> - <tuple/> + <none/> </value> </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>type_class</string> </key> + <value> <string>SupplyCell</string> </value> + </item> + <item> + <key> <string>type_mixin</string> </key> + <value> + <tuple/> + </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Line.xml b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Line.xml index 78a20d908f..33645f5e40 100644 --- a/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Line.xml +++ b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Line.xml @@ -2,59 +2,14 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> - <tuple/> - </tuple> + <global name="Base Type" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_actions</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>_aliases</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_roles</string> </key> - <value> - <list/> - </value> - </item> <item> <key> <string>acquire_local_roles</string> </key> <value> <int>1</int> </value> </item> - <item> - <key> <string>allowed_content_types</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>base_category_list</string> </key> - <value> - <tuple/> - </value> - </item> <item> <key> <string>content_icon</string> </key> <value> <string>document.gif</string> </value> @@ -65,12 +20,7 @@ </item> <item> <key> <string>description</string> </key> - <value> <string> A DeliveryLine object allows to implement lines in\n - Deliveries (packing list, order, invoice, etc.)\n -\n - It may include a price (for insurance, for customs, for invoices,\n - for orders)\n -</string> </value> + <value> <string>This line can define the value of a currency towards another currency</string> </value> </item> <item> <key> <string>factory</string> </key> @@ -86,12 +36,6 @@ <tuple/> </value> </item> - <item> - <key> <string>hidden_content_type_list</string> </key> - <value> - <tuple/> - </value> - </item> <item> <key> <string>id</string> </key> <value> <string>Currency Exchange Line</string> </value> @@ -102,17 +46,29 @@ </item> <item> <key> <string>permission</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> <value> <string></string> </value> </item> <item> - <key> <string>property_sheet_list</string> </key> + <key> <string>type_class</string> </key> + <value> <string>SupplyLine</string> </value> + </item> + <item> + <key> <string>type_interface</string> </key> <value> <tuple/> </value> </item> <item> - <key> <string>title</string> </key> - <value> <string></string> </value> + <key> <string>type_mixin</string> </key> + <value> + <tuple/> + </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Module.xml b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Module.xml index ad2306ca08..6661752957 100644 --- a/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Module.xml +++ b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Module.xml @@ -2,73 +2,13 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> - <tuple/> - </tuple> + <global name="Base Type" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_actions</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>_aliases</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_property_domain_dict</string> </key> - <value> - <dictionary> - <item> - <key> <string>short_title</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>title</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>_roles</string> </key> - <value> - <list/> - </value> - </item> - <item> - <key> <string>allowed_content_types</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>base_category_list</string> </key> - <value> - <tuple/> - </value> + <key> <string>acquire_local_roles</string> </key> + <value> <int>1</int> </value> </item> <item> <key> <string>content_icon</string> </key> @@ -91,9 +31,11 @@ <value> <int>1</int> </value> </item> <item> - <key> <string>hidden_content_type_list</string> </key> + <key> <string>group_list</string> </key> <value> - <tuple/> + <tuple> + <string>module</string> + </tuple> </value> </item> <item> @@ -101,60 +43,20 @@ <value> <string>Currency Module</string> </value> </item> <item> - <key> <string>property_sheet_list</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>title</string> </key> + <key> <string>init_script</string> </key> <value> <string></string> </value> </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>Products.ERP5Type.TranslationProviderBase</string> - <string>TranslationInformation</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> <item> - <key> <string>domain_name</string> </key> - <value> <string>erp5_ui</string> </value> + <key> <string>permission</string> </key> + <value> <string></string> </value> </item> <item> - <key> <string>property_name</string> </key> - <value> <string>short_title</string> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <tuple> - <string>Products.ERP5Type.TranslationProviderBase</string> - <string>TranslationInformation</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>domain_name</string> </key> - <value> <string>erp5_ui</string> </value> + <key> <string>title</string> </key> + <value> <string></string> </value> </item> <item> - <key> <string>property_name</string> </key> - <value> <string>title</string> </value> + <key> <string>type_class</string> </key> + <value> <string>Folder</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency.xml b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency.xml index 7eb4850ebf..db015fcd2b 100644 --- a/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency.xml +++ b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency.xml @@ -2,59 +2,14 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> - <tuple/> - </tuple> + <global name="Base Type" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_actions</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>_aliases</string> </key> - <value> - <dictionary/> - </value> - </item> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_roles</string> </key> - <value> - <list/> - </value> - </item> <item> <key> <string>acquire_local_roles</string> </key> <value> <int>1</int> </value> </item> - <item> - <key> <string>allowed_content_types</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>base_category_list</string> </key> - <value> - <tuple/> - </value> - </item> <item> <key> <string>content_icon</string> </key> <value> <string>organisation_icon.gif</string> </value> @@ -84,28 +39,40 @@ </value> </item> <item> - <key> <string>hidden_content_type_list</string> </key> + <key> <string>id</string> </key> + <value> <string>Currency</string> </value> + </item> + <item> + <key> <string>init_script</string> </key> <value> - <tuple/> + <none/> </value> </item> <item> - <key> <string>id</string> </key> - <value> <string>Currency</string> </value> + <key> <string>permission</string> </key> + <value> + <none/> + </value> </item> <item> - <key> <string>init_script</string> </key> + <key> <string>title</string> </key> <value> <string></string> </value> </item> <item> - <key> <string>property_sheet_list</string> </key> + <key> <string>type_class</string> </key> + <value> <string>Currency</string> </value> + </item> + <item> + <key> <string>type_interface</string> </key> <value> <tuple/> </value> </item> <item> - <key> <string>title</string> </key> - <value> <string></string> </value> + <key> <string>type_mixin</string> </key> + <value> + <tuple/> + </value> </item> </dictionary> </pickle> -- 2.30.9