From 8efaafff20180e0a12a4579f1c217020e9b28847 Mon Sep 17 00:00:00 2001 From: Yusuke Muraoka <yusuke@nexedi.com> Date: Mon, 7 Sep 2009 11:19:38 +0000 Subject: [PATCH] 2009-09-07 yusuke * Replace ERP5Report to ERP5Form and ReportBox git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28856 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Base_viewDocumentationReport.xml | 16 +-- .../your_reportbox.xml | 99 +++++++++++++++++++ ...entationHelper_viewDocumentationHelper.xml | 21 ++-- .../your_reportbox.xml | 99 +++++++++++++++++++ .../DocumentationHelper_viewReport.xml | 43 +------- .../your_reportbox.xml | 99 +++++++++++++++++++ bt5/erp5_documentation/bt/change_log | 3 + bt5/erp5_documentation/bt/revision | 2 +- .../PDFDocument_viewAttachmentList.xml | 24 +++-- .../your_reportbox.xml | 99 +++++++++++++++++++ bt5/erp5_egov/bt/change_log | 3 + bt5/erp5_egov/bt/revision | 2 +- 12 files changed, 443 insertions(+), 67 deletions(-) create mode 100644 bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/Base_viewDocumentationReport/your_reportbox.xml create mode 100644 bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewDocumentationHelper/your_reportbox.xml create mode 100644 bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewReport/your_reportbox.xml create mode 100644 bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_viewAttachmentList/your_reportbox.xml diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/Base_viewDocumentationReport.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/Base_viewDocumentationReport.xml index 609c19aaee..0f4ac98f89 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/Base_viewDocumentationReport.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/Base_viewDocumentationReport.xml @@ -3,7 +3,7 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <global name="ERP5Report" module="Products.ERP5Form.Report"/> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> <tuple/> </tuple> </pickle> @@ -30,6 +30,12 @@ </object> </value> </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> <item> <key> <string>action</string> </key> <value> <string></string> </value> @@ -77,7 +83,9 @@ <item> <key> <string>hidden</string> </key> <value> - <list/> + <list> + <string>your_reportbox</string> + </list> </value> </item> <item> @@ -111,10 +119,6 @@ <key> <string>pt</string> </key> <value> <string>report_view</string> </value> </item> - <item> - <key> <string>report_method</string> </key> - <value> <string>Base_getDocumentationReportSectionList</string> </value> - </item> <item> <key> <string>row_length</string> </key> <value> <int>4</int> </value> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/Base_viewDocumentationReport/your_reportbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/Base_viewDocumentationReport/your_reportbox.xml new file mode 100644 index 0000000000..c9f61c7ca1 --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/Base_viewDocumentationReport/your_reportbox.xml @@ -0,0 +1,99 @@ +<?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> + <string>report_method</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>your_reportbox</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>your_reportbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewReportFieldLibrary</string> </value> + </item> + <item> + <key> <string>report_method</string> </key> + <value> <string>Base_getDocumentationReportSectionList</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_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewDocumentationHelper.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewDocumentationHelper.xml index a77dc3b34e..54d0f0b29e 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewDocumentationHelper.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewDocumentationHelper.xml @@ -3,7 +3,7 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <global name="ERP5Report" module="Products.ERP5Form.Report"/> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> <tuple/> </tuple> </pickle> @@ -44,12 +44,6 @@ <key> <string>description</string> </key> <value> <string>This is wonderfull ERP5 instance</string> </value> </item> - <item> - <key> <string>edit_order</string> </key> - <value> - <list/> - </value> - </item> <item> <key> <string>encoding</string> </key> <value> <string>UTF-8</string> </value> @@ -92,13 +86,18 @@ <item> <key> <string>hidden</string> </key> <value> - <list/> + <list> + <string>your_reportbox</string> + </list> </value> </item> <item> <key> <string>left</string> </key> <value> - <list/> + <list> + <string>your_class_name</string> + <string>your_uri</string> + </list> </value> </item> <item> @@ -126,10 +125,6 @@ <key> <string>pt</string> </key> <value> <string>report_view</string> </value> </item> - <item> - <key> <string>report_method</string> </key> - <value> <string>DocumentationHelper_getDocumentationHelperSectionList</string> </value> - </item> <item> <key> <string>row_length</string> </key> <value> <int>4</int> </value> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewDocumentationHelper/your_reportbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewDocumentationHelper/your_reportbox.xml new file mode 100644 index 0000000000..a7c4ad600c --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewDocumentationHelper/your_reportbox.xml @@ -0,0 +1,99 @@ +<?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> + <string>report_method</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>your_reportbox</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>your_reportbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewReportFieldLibrary</string> </value> + </item> + <item> + <key> <string>report_method</string> </key> + <value> <string>DocumentationHelper_getDocumentationHelperSectionList</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_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewReport.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewReport.xml index b49f2d7d02..336c62d0b3 100644 --- a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewReport.xml +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewReport.xml @@ -3,7 +3,7 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <global name="ERP5Report" module="Products.ERP5Form.Report"/> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> <tuple/> </tuple> </pickle> @@ -30,39 +30,12 @@ </object> </value> </item> - <item> - <key> <string>_local_properties</string> </key> - <value> - <tuple/> - </value> - </item> <item> <key> <string>_objects</string> </key> <value> <tuple/> </value> </item> - <item> - <key> <string>_properties</string> </key> - <value> - <tuple> - <dictionary> - <item> - <key> <string>id</string> </key> - <value> <string>title</string> </value> - </item> - <item> - <key> <string>mode</string> </key> - <value> <string>wd</string> </value> - </item> - <item> - <key> <string>type</string> </key> - <value> <string>tales</string> </value> - </item> - </dictionary> - </tuple> - </value> - </item> <item> <key> <string>action</string> </key> <value> <string></string> </value> @@ -71,12 +44,6 @@ <key> <string>description</string> </key> <value> <string></string> </value> </item> - <item> - <key> <string>edit_order</string> </key> - <value> - <list/> - </value> - </item> <item> <key> <string>encoding</string> </key> <value> <string>UTF-8</string> </value> @@ -116,7 +83,9 @@ <item> <key> <string>hidden</string> </key> <value> - <list/> + <list> + <string>your_reportbox</string> + </list> </value> </item> <item> @@ -150,10 +119,6 @@ <key> <string>pt</string> </key> <value> <string>report_view</string> </value> </item> - <item> - <key> <string>report_method</string> </key> - <value> <string>DocumentationHelper_getDocumentationSectionList</string> </value> - </item> <item> <key> <string>row_length</string> </key> <value> <int>4</int> </value> diff --git a/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewReport/your_reportbox.xml b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewReport/your_reportbox.xml new file mode 100644 index 0000000000..afbc9181ac --- /dev/null +++ b/bt5/erp5_documentation/SkinTemplateItem/portal_skins/erp5_documentation/DocumentationHelper_viewReport/your_reportbox.xml @@ -0,0 +1,99 @@ +<?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> + <string>report_method</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>your_reportbox</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>your_reportbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewReportFieldLibrary</string> </value> + </item> + <item> + <key> <string>report_method</string> </key> + <value> <string>DocumentationHelper_getDocumentationSectionList</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_documentation/bt/change_log b/bt5/erp5_documentation/bt/change_log index 827502ddeb..a5b3cc4ee0 100644 --- a/bt5/erp5_documentation/bt/change_log +++ b/bt5/erp5_documentation/bt/change_log @@ -1,3 +1,6 @@ +2009-09-07 yusuke +* Replace ERP5Report to ERP5Form and ReportBox + 2008-10-07: mayoro adding new field to display template_path_list of documented business templates diff --git a/bt5/erp5_documentation/bt/revision b/bt5/erp5_documentation/bt/revision index cde50ca2fd..cd004727f2 100644 --- a/bt5/erp5_documentation/bt/revision +++ b/bt5/erp5_documentation/bt/revision @@ -1 +1 @@ -179 \ No newline at end of file +182 \ No newline at end of file diff --git a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_viewAttachmentList.xml b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_viewAttachmentList.xml index 07d955535b..36a1a5a7b6 100644 --- a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_viewAttachmentList.xml +++ b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_viewAttachmentList.xml @@ -3,7 +3,7 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <global name="ERP5Report" module="Products.ERP5Form.Report"/> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> <tuple/> </tuple> </pickle> @@ -62,7 +62,7 @@ <key> <string>group_list</string> </key> <value> <list> - <string>white_background</string> + <string>left</string> <string>right</string> <string>center</string> <string>bottom</string> @@ -89,7 +89,17 @@ <item> <key> <string>hidden</string> </key> <value> - <list/> + <list> + <string>your_reportbox</string> + </list> + </value> + </item> + <item> + <key> <string>left</string> </key> + <value> + <list> + <string>explanation</string> + </list> </value> </item> <item> @@ -125,10 +135,6 @@ <key> <string>pt</string> </key> <value> <string>report_view</string> </value> </item> - <item> - <key> <string>report_method</string> </key> - <value> <string>PDFDocument_getReportSectionList</string> </value> - </item> <item> <key> <string>row_length</string> </key> <value> <int>4</int> </value> @@ -149,6 +155,10 @@ <key> <string>update_action</string> </key> <value> <string></string> </value> </item> + <item> + <key> <string>update_action_title</string> </key> + <value> <string></string> </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_viewAttachmentList/your_reportbox.xml b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_viewAttachmentList/your_reportbox.xml new file mode 100644 index 0000000000..31d087f44a --- /dev/null +++ b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/PDFDocument_viewAttachmentList/your_reportbox.xml @@ -0,0 +1,99 @@ +<?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> + <string>report_method</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>your_reportbox</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>your_reportbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewReportFieldLibrary</string> </value> + </item> + <item> + <key> <string>report_method</string> </key> + <value> <string>PDFDocument_getReportSectionList</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_egov/bt/change_log b/bt5/erp5_egov/bt/change_log index dafd973c45..fcc61b2c90 100644 --- a/bt5/erp5_egov/bt/change_log +++ b/bt5/erp5_egov/bt/change_log @@ -1,3 +1,6 @@ +2009-09-07 yusuke +* Replace ERP5Report to ERP5Form and ReportBox + 2008-11-17 fabien * add workflow scripts to send notification by email diff --git a/bt5/erp5_egov/bt/revision b/bt5/erp5_egov/bt/revision index c95da112f9..4754f24761 100644 --- a/bt5/erp5_egov/bt/revision +++ b/bt5/erp5_egov/bt/revision @@ -1 +1 @@ -459 \ No newline at end of file +461 \ No newline at end of file -- 2.30.9