From 1c29584439c8ba91561b5f5946c0abd0bd7e078d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 22 Aug 2008 11:42:09 +0000 Subject: [PATCH] Add comment field on requirement git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23109 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../property_sheet_list.xml | 1 + .../erp5_project/Requirement_view.xml | 1 + .../Requirement_view/my_comment.xml | 93 +++++++++++++++++++ .../Requirement_viewFieldLibrary.xml | 1 + .../my_comment.xml | 93 +++++++++++++++++++ bt5/erp5_project/bt/revision | 2 +- .../template_portal_type_property_sheet_list | 1 + 7 files changed, 191 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_view/my_comment.xml create mode 100644 bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_viewFieldLibrary/my_comment.xml diff --git a/bt5/erp5_project/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_project/PortalTypePropertySheetTemplateItem/property_sheet_list.xml index 54d4af2daa..8b95095ae3 100644 --- a/bt5/erp5_project/PortalTypePropertySheetTemplateItem/property_sheet_list.xml +++ b/bt5/erp5_project/PortalTypePropertySheetTemplateItem/property_sheet_list.xml @@ -12,6 +12,7 @@ <item>XMLObject</item> <item>Document</item> <item>Folder</item> + <item>Comment</item> <item>DublinCore</item> <item>Reference</item> <item>SortIndex</item> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_view.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_view.xml index b7cf7db25f..213f325daa 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_view.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_view.xml @@ -127,6 +127,7 @@ <string>my_destination_decision_title</string> <string>my_source_decision_title</string> <string>my_initial_implementation_state</string> + <string>my_comment</string> <string>my_translated_validation_state_title</string> </list> </value> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_view/my_comment.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_view/my_comment.xml new file mode 100644 index 0000000000..09a5b4dc65 --- /dev/null +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_view/my_comment.xml @@ -0,0 +1,93 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_comment</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> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_comment</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Requirement_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_viewFieldLibrary.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_viewFieldLibrary.xml index 22d41acbfd..06fbbdc540 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_viewFieldLibrary.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_viewFieldLibrary.xml @@ -101,6 +101,7 @@ <string>my_version</string> <string>my_reference</string> <string>my_short_title</string> + <string>my_comment</string> </list> </value> </item> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_viewFieldLibrary/my_comment.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_viewFieldLibrary/my_comment.xml new file mode 100644 index 0000000000..06555dcada --- /dev/null +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Requirement_viewFieldLibrary/my_comment.xml @@ -0,0 +1,93 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_comment</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> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_comment</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision index c021767357..7f509bf389 100644 --- a/bt5/erp5_project/bt/revision +++ b/bt5/erp5_project/bt/revision @@ -1 +1 @@ -558 \ No newline at end of file +560 \ No newline at end of file diff --git a/bt5/erp5_project/bt/template_portal_type_property_sheet_list b/bt5/erp5_project/bt/template_portal_type_property_sheet_list index 7b213b0e66..5f260fb2e0 100644 --- a/bt5/erp5_project/bt/template_portal_type_property_sheet_list +++ b/bt5/erp5_project/bt/template_portal_type_property_sheet_list @@ -4,6 +4,7 @@ Project Line | SortIndex Project Milestone | OutcomeDescription Project Milestone | SortIndex Requirement Document | Reference +Requirement | Comment Requirement | Document Requirement | DublinCore Requirement | Folder -- 2.30.9