diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view.xml index 8a80c9c3d36a56943dce89c51239d1efedfd3b57..2ded67d2bac07c616c9dbaa94025a78ad5e2d373 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view.xml @@ -54,6 +54,7 @@ <list> <string>left</string> <string>right</string> + <string>center</string> </list> </value> </item> @@ -61,12 +62,21 @@ <key> <string>groups</string> </key> <value> <dictionary> + <item> + <key> <string>center</string> </key> + <value> + <list> + <string>my_description</string> + </list> + </value> + </item> <item> <key> <string>left</string> </key> <value> <list> <string>my_title</string> - <string>my_description</string> + <string>my_priority</string> + <string>my_translated_preference_state_title</string> </list> </value> </item> @@ -74,10 +84,12 @@ <key> <string>right</string> </key> <value> <list> - <string>my_priority</string> <string>my_preferred_section_category</string> <string>my_preferred_section</string> - <string>my_translated_preference_state_title</string> + <string>my_preferred_date_order</string> + <string>my_preferred_float_number_style</string> + <string>my_preferred_money_quantity_size</string> + <string>my_preferred_user_interface_language_list</string> </list> </value> </item> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_viewHtmlStyle/my_preferred_date_order.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view/my_preferred_date_order.xml similarity index 100% rename from product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_viewHtmlStyle/my_preferred_date_order.xml rename to product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view/my_preferred_date_order.xml diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_viewHtmlStyle/my_preferred_float_number_style.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view/my_preferred_float_number_style.xml similarity index 100% rename from product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_viewHtmlStyle/my_preferred_float_number_style.xml rename to product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view/my_preferred_float_number_style.xml diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view/my_preferred_money_quantity_size.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view/my_preferred_money_quantity_size.xml new file mode 100644 index 0000000000000000000000000000000000000000..88332d2e5581733da771e3a929bcfb9ca6d4b981 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view/my_preferred_money_quantity_size.xml @@ -0,0 +1,290 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ListField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_preferred_money_quantity_size</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>unknown_selection</string> </key> + <value> <string>You selected an item that was not in the list.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>The preferred money quantity style in which float field will be displayed (with comma, point, space, ...)</string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <list> + <tuple> + <string></string> + <string></string> + </tuple> + <tuple> + <string>-1234.5</string> + <string>-1234.5</string> + </tuple> + <tuple> + <string>-1 234.5</string> + <string>-1 234.5</string> + </tuple> + <tuple> + <string>-1 234,5</string> + <string>-1 234,5</string> + </tuple> + <tuple> + <string>-1.234,5</string> + <string>-1.234,5</string> + </tuple> + <tuple> + <string>-1,234.5</string> + <string>-1,234.5</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Money Quantity Style</string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view/my_preferred_user_interface_language_list.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view/my_preferred_user_interface_language_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..7c4748a6070b731bb76c0e6d5f6157672aae67ab --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_view/my_preferred_user_interface_language_list.xml @@ -0,0 +1,271 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="RadioField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_preferred_user_interface_language_list</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>unknown_selection</string> </key> + <value> <string>You selected an item that was not in the list.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>orientation</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>orientation</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>The languages displayed in the User Interface.</string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>orientation</string> </key> + <value> <string>horizontal</string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>User Interface Languages</string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="TALESMethod" module="Products.Formulator.TALESField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_text</string> </key> + <value> <string>python:[(x[\'id\'], x[\'title\']) for x in here.Localizer.get_languages_map()]</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_viewHtmlStyle.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_viewHtmlStyle.xml index 0d6f99a30a0a176a8d7e09de242bdfff07c9b5a6..7d3802c710e11c8f20bded5c045719809e8121ea 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_viewHtmlStyle.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Preference_viewHtmlStyle.xml @@ -101,8 +101,6 @@ <key> <string>right</string> </key> <value> <list> - <string>my_preferred_date_order</string> - <string>my_preferred_float_number_style</string> <string>my_preferred_report_style</string> <string>my_preferred_report_format</string> <string>my_preferred_nano_image_height</string> diff --git a/product/ERP5/bootstrap/erp5_core/ToolTemplateItem/portal_sessions.xml b/product/ERP5/bootstrap/erp5_core/ToolTemplateItem/portal_sessions.xml index 3043c011fcde8e00d6d7f3cf7adeb6fd0b0da05f..37362f971fea844e88d7b000462c404acffd1689 100644 --- a/product/ERP5/bootstrap/erp5_core/ToolTemplateItem/portal_sessions.xml +++ b/product/ERP5/bootstrap/erp5_core/ToolTemplateItem/portal_sessions.xml @@ -40,25 +40,13 @@ </record> <record id="2" aka="AAAAAAAAAAI="> <pickle> - <tuple> - <tuple> - <string>BTrees.Length</string> - <string>Length</string> - </tuple> - <none/> - </tuple> + <global name="Length" module="BTrees.Length"/> </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> + <global name="OOBTree" module="BTrees._OOBTree"/> </pickle> <pickle> <none/> @@ -66,13 +54,7 @@ </record> <record id="4" aka="AAAAAAAAAAQ="> <pickle> - <tuple> - <tuple> - <string>BTrees.OOBTree</string> - <string>OOBTree</string> - </tuple> - <none/> - </tuple> + <global name="OOBTree" module="BTrees._OOBTree"/> </pickle> <pickle> <none/> diff --git a/product/ERP5/bootstrap/erp5_core/ToolTemplateItem/portal_transforms.xml b/product/ERP5/bootstrap/erp5_core/ToolTemplateItem/portal_transforms.xml index 608c4e58b8441adcc74f0a56f25c05e71f892fdc..bdaa9101998204280aae5fd0ce7e208ddc6f2df7 100644 --- a/product/ERP5/bootstrap/erp5_core/ToolTemplateItem/portal_transforms.xml +++ b/product/ERP5/bootstrap/erp5_core/ToolTemplateItem/portal_transforms.xml @@ -13118,7 +13118,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -13223,7 +13223,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -13328,7 +13328,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -13433,7 +13433,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -13530,7 +13530,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -13631,7 +13631,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -13732,7 +13732,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -13833,7 +13833,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -13940,7 +13940,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -14047,7 +14047,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -14154,7 +14154,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -14261,7 +14261,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -14368,7 +14368,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -14475,7 +14475,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -14681,7 +14681,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -14782,7 +14782,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -14889,7 +14889,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -14957,7 +14957,7 @@ </item> <item> <key> <string>module</string> </key> - <value> <string>Products.ERP5Type.patches.transforms.html_to_text</string> </value> + <value> <string>Products.PortalTransforms.transforms.html_to_text</string> </value> </item> <item> <key> <string>output</string> </key> @@ -14996,7 +14996,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -15103,7 +15103,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -15204,7 +15204,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -15373,7 +15373,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -15494,7 +15494,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -15601,7 +15601,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -15829,7 +15829,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string> @@ -15960,7 +15960,7 @@ <value> <dictionary> <item> - <key> <string>daniele</string> </key> + <key> <string>zope</string> </key> <value> <list> <string>Owner</string>