From 589281df1d6ced50584de7d697a4368c760ee416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 1 Nov 2006 17:45:50 +0000 Subject: [PATCH] Fields for Telephone_view doesn't have to be required. Also remove useless TALES expressions. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11043 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Telephone_view/my_description.xml | 2 +- .../Telephone_view/my_telephone_area.xml | 25 ++----------------- .../Telephone_view/my_telephone_country.xml | 25 ++----------------- .../Telephone_view/my_telephone_extension.xml | 23 +---------------- .../Telephone_view/my_telephone_number.xml | 25 ++----------------- .../erp5_base/Telephone_view/my_title.xml | 25 ++----------------- bt5/erp5_base/bt/revision | 2 +- 7 files changed, 11 insertions(+), 116 deletions(-) diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_description.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_description.xml index 727c365c17..5877ea18f8 100644 --- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_description.xml +++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_description.xml @@ -277,7 +277,7 @@ </item> <item> <key> <string>width</string> </key> - <value> <int>40</int> </value> + <value> <int>80</int> </value> </item> </dictionary> </value> diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_area.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_area.xml index 2c02352479..7aa5a7c5ff 100644 --- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_area.xml +++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_area.xml @@ -124,9 +124,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> @@ -241,7 +239,7 @@ </item> <item> <key> <string>required</string> </key> - <value> <int>1</int> </value> + <value> <int>0</int> </value> </item> <item> <key> <string>title</string> </key> @@ -265,23 +263,4 @@ </dictionary> </pickle> </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>Products.Formulator.TALESField</string> - <string>TALESMethod</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_text</string> </key> - <value> <string>here/getTelephoneArea</string> </value> - </item> - </dictionary> - </pickle> - </record> </ZopeData> diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_country.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_country.xml index 784cf09672..62a0c76197 100644 --- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_country.xml +++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_country.xml @@ -124,9 +124,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> @@ -241,7 +239,7 @@ </item> <item> <key> <string>required</string> </key> - <value> <int>1</int> </value> + <value> <int>0</int> </value> </item> <item> <key> <string>title</string> </key> @@ -265,23 +263,4 @@ </dictionary> </pickle> </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>Products.Formulator.TALESField</string> - <string>TALESMethod</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_text</string> </key> - <value> <string>here/getTelephoneCountry</string> </value> - </item> - </dictionary> - </pickle> - </record> </ZopeData> diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_extension.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_extension.xml index e11337464a..824d9f5afa 100644 --- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_extension.xml +++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_extension.xml @@ -124,9 +124,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> @@ -265,23 +263,4 @@ </dictionary> </pickle> </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>Products.Formulator.TALESField</string> - <string>TALESMethod</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_text</string> </key> - <value> <string>here/getTelephoneExtension</string> </value> - </item> - </dictionary> - </pickle> - </record> </ZopeData> diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_number.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_number.xml index 80e0c319ac..baa62bb986 100644 --- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_number.xml +++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_telephone_number.xml @@ -124,9 +124,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> @@ -241,7 +239,7 @@ </item> <item> <key> <string>required</string> </key> - <value> <int>1</int> </value> + <value> <int>0</int> </value> </item> <item> <key> <string>title</string> </key> @@ -265,23 +263,4 @@ </dictionary> </pickle> </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>Products.Formulator.TALESField</string> - <string>TALESMethod</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_text</string> </key> - <value> <string>here/getTelephoneNumber</string> </value> - </item> - </dictionary> - </pickle> - </record> </ZopeData> diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_title.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_title.xml index 148de4fa0f..2e022ed3d9 100644 --- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_title.xml +++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Telephone_view/my_title.xml @@ -124,9 +124,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> @@ -241,7 +239,7 @@ </item> <item> <key> <string>required</string> </key> - <value> <int>1</int> </value> + <value> <int>0</int> </value> </item> <item> <key> <string>title</string> </key> @@ -265,23 +263,4 @@ </dictionary> </pickle> </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <tuple> - <string>Products.Formulator.TALESField</string> - <string>TALESMethod</string> - </tuple> - <none/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_text</string> </key> - <value> <string>here/getTitle</string> </value> - </item> - </dictionary> - </pickle> - </record> </ZopeData> diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision index eebd1d10b6..b2412e34df 100644 --- a/bt5/erp5_base/bt/revision +++ b/bt5/erp5_base/bt/revision @@ -1 +1 @@ -61 \ No newline at end of file +62 \ No newline at end of file -- 2.30.9