From 4949158a2c94900bd781349efef5b0915780648a Mon Sep 17 00:00:00 2001 From: Thierry Brettnacher <tb@nexedi.com> Date: Tue, 7 Nov 2006 15:28:26 +0000 Subject: [PATCH] New fields are added to the form defining proxy fileds for CRM : price_range_min and price_range_max. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11180 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_crm/BaseCrm_FieldLibrary.xml | 8 + .../erp5_crm/BaseCrm_FieldLibrary/date.xml | 18 +- .../my_destination_section_title.xml | 6 +- .../my_destination_title.xml | 4 +- .../my_destination_title_list.xml | 2 +- .../my_price_range_max.xml | 244 ++++++++++++++++++ .../my_price_range_min.xml | 244 ++++++++++++++++++ .../BaseCrm_FieldLibrary/my_received_date.xml | 18 +- .../my_source_section_title.xml | 4 +- .../BaseCrm_FieldLibrary/my_source_title.xml | 4 +- .../BaseCrm_FieldLibrary/my_start_date.xml | 18 +- bt5/erp5_crm/bt/revision | 1 + 12 files changed, 530 insertions(+), 41 deletions(-) create mode 100644 bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_price_range_max.xml create mode 100644 bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_price_range_min.xml diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary.xml index 5df92d8d9d..e91e3c8174 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary.xml @@ -45,6 +45,12 @@ <tuple/> </value> </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> <item> <key> <string>action</string> </key> <value> <string></string> </value> @@ -107,6 +113,8 @@ <string>my_destination_section_title</string> <string>date</string> <string>my_start_date</string> + <string>my_price_range_min</string> + <string>my_price_range_max</string> </list> </value> </item> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/date.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/date.xml index adecd54fef..7d21773cf0 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/date.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/date.xml @@ -399,28 +399,28 @@ <value> <dictionary> <item> - <key> <string>Default</string> </key> + <key> <string>Default</string> </key> <value> <list/> </value> </item> <item> - <key> <string>date</string> </key> + <key> <string>date</string> </key> <value> <list> -<string>year</string> -<string>month</string> -<string>day</string> + <string>year</string> + <string>month</string> + <string>day</string> </list> </value> </item> <item> - <key> <string>time</string> </key> + <key> <string>time</string> </key> <value> <list> -<string>hour</string> -<string>minute</string> -<string>ampm</string> + <string>hour</string> + <string>minute</string> + <string>ampm</string> </list> </value> </item> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_destination_section_title.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_destination_section_title.xml index 0aaf9b2538..8b91c0e976 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_destination_section_title.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_destination_section_title.xml @@ -397,9 +397,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <list/> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> @@ -508,7 +506,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>Destination</string> </value> + <value> <string>Destination Section</string> </value> </item> <item> <key> <string>truncate</string> </key> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_destination_title.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_destination_title.xml index e18665ac9e..fa944993e1 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_destination_title.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_destination_title.xml @@ -397,9 +397,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <list/> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_destination_title_list.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_destination_title_list.xml index dfcca72bd2..e36053e06b 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_destination_title_list.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_destination_title_list.xml @@ -455,7 +455,7 @@ </item> <item> <key> <string>height</string> </key> - <value> <int>5</int> </value> + <value> <int>3</int> </value> </item> <item> <key> <string>hidden</string> </key> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_price_range_max.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_price_range_max.xml new file mode 100644 index 0000000000..35782f2a13 --- /dev/null +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_price_range_max.xml @@ -0,0 +1,244 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.Formulator.StandardFields</string> + <string>FloatField</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_price_range_max</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>not_float</string> </key> + <value> <string>You did not enter a floating point number.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</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>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</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>hidden</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>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>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</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>hidden</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>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></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>20</int> </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>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>input_style</string> </key> + <value> <string>-1234.5</string> </value> + </item> + <item> + <key> <string>precision</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Max Price</string> </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/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_price_range_min.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_price_range_min.xml new file mode 100644 index 0000000000..3df9086404 --- /dev/null +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_price_range_min.xml @@ -0,0 +1,244 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.Formulator.StandardFields</string> + <string>FloatField</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_price_range_min</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>not_float</string> </key> + <value> <string>You did not enter a floating point number.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</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>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</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>hidden</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>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>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</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>hidden</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>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></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>20</int> </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>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>input_style</string> </key> + <value> <string>-1234.5</string> </value> + </item> + <item> + <key> <string>precision</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Min Price</string> </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/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_received_date.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_received_date.xml index 3d1cf4ccbf..fcc112df11 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_received_date.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_received_date.xml @@ -397,28 +397,28 @@ <value> <dictionary> <item> - <key> <string>Default</string> </key> + <key> <string>Default</string> </key> <value> <list/> </value> </item> <item> - <key> <string>date</string> </key> + <key> <string>date</string> </key> <value> <list> -<string>year</string> -<string>month</string> -<string>day</string> + <string>year</string> + <string>month</string> + <string>day</string> </list> </value> </item> <item> - <key> <string>time</string> </key> + <key> <string>time</string> </key> <value> <list> -<string>hour</string> -<string>minute</string> -<string>ampm</string> + <string>hour</string> + <string>minute</string> + <string>ampm</string> </list> </value> </item> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_source_section_title.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_source_section_title.xml index 8ed31a260a..01c516a166 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_source_section_title.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_source_section_title.xml @@ -397,9 +397,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <list/> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_source_title.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_source_title.xml index ffa5f1958f..2585441433 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_source_title.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_source_title.xml @@ -397,9 +397,7 @@ </item> <item> <key> <string>default</string> </key> - <value> - <list/> - </value> + <value> <string></string> </value> </item> <item> <key> <string>description</string> </key> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_start_date.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_start_date.xml index 3541f9938d..24b4137c9a 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_start_date.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/BaseCrm_FieldLibrary/my_start_date.xml @@ -397,28 +397,28 @@ <value> <dictionary> <item> - <key> <string>Default</string> </key> + <key> <string>Default</string> </key> <value> <list/> </value> </item> <item> - <key> <string>date</string> </key> + <key> <string>date</string> </key> <value> <list> -<string>year</string> -<string>month</string> -<string>day</string> + <string>year</string> + <string>month</string> + <string>day</string> </list> </value> </item> <item> - <key> <string>time</string> </key> + <key> <string>time</string> </key> <value> <list> -<string>hour</string> -<string>minute</string> -<string>ampm</string> + <string>hour</string> + <string>minute</string> + <string>ampm</string> </list> </value> </item> diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision index e69de29bb2..bf0d87ab1b 100644 --- a/bt5/erp5_crm/bt/revision +++ b/bt5/erp5_crm/bt/revision @@ -0,0 +1 @@ +4 \ No newline at end of file -- 2.30.9