Commit 163b21c1 authored by Jérome Perrin's avatar Jérome Perrin

Check forms in coding style

Extend coding style tests to check forms:

* [Method Name Is Prefixed With Portal Or Meta Type, Class Or Interface](https://www.erp5.com/documentation/developer/guideline/programming/erp5-Guideline.Programming.Naming.Conventions/#method-name-is-prefixed-with-portal-or-meta-type,-class-or-interface) / [Set Document Form Ids To PortalType_view](https://www.erp5.com/documentation/developer/guideline/module/erp5-Guideline.Module.Creation/#set-document-form-ids-to-portaltype_view) - this was checked for python scripts, but not yet for dialogs
* [Form Name Uses Lowercase View After Portal Type](https://www.erp5.com/documentation/developer/guideline/programming/erp5-Guideline.Programming.Naming.Conventions/#form-name-uses-lowercase-view-after-portal-type)
* [Dialog Form Name Is Postfixed With Dialog](https://www.erp5.com/documentation/developer/guideline/programming/erp5-Guideline.Programming.Naming.Conventions/#dialog-form-name-is-postfixed-with-dialog)
* [Report Name Uses Portal Type Followed By View Report Name And Report](https://www.erp5.com/documentation/developer/guideline/programming/erp5-Guideline.Programming.Naming.Conventions/#report-name-uses-portal-type-followed-by-view-report-name-and-report)
* [Place Simulation And Validation Fields At Bottom Of Right Group](https://www.erp5.com/documentation/developer/guideline/module/erp5-Guideline.Module.Creation/#place-simulation-and-validation-fields-at-bottom-of-right-group)
* [Use Correct Names For Simulation And Validation Titles](https://www.erp5.com/documentation/developer/guideline/module/erp5-Guideline.Use.Correct.Names.For.Simulation.And.Validation.Titles)

and apply minimal fixes to all business templates already running coding style checks.


See merge request nexedi/erp5!1021
parents c11670a0 1ddc611b
Pipeline #12930 failed with stage
in 0 seconds
......@@ -70,14 +70,6 @@
<key> <string>center</string> </key>
<value>
<list>
<string>my_title</string>
<string>my_reference</string>
<string>my_credit_account</string>
<string>my_gap_list</string>
<string>my_account_type</string>
<string>my_financial_section</string>
<string>my_destination_title_list</string>
<string>my_translated_validation_state_title</string>
<string>my_description</string>
</list>
</value>
......@@ -85,13 +77,23 @@
<item>
<key> <string>left</string> </key>
<value>
<list/>
<list>
<string>my_title</string>
<string>my_reference</string>
<string>my_gap_list</string>
<string>my_account_type</string>
<string>my_financial_section</string>
</list>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list/>
<list>
<string>my_credit_account</string>
<string>my_destination_title_list</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
</dictionary>
......
......@@ -83,7 +83,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Base_importGapFileForm</string> </value>
<value> <string>CategoryTool_viewImportGapFileDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -91,7 +91,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>Base_importGapFileForm</string> </value>
<value> <string>CategoryTool_viewImportGapFileDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......
......@@ -128,7 +128,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebSection_viewLoyaltyRequest</string> </value>
<value> <string>WebSection_viewLoyaltyRequestDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -136,7 +136,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>WebSection_viewLoyaltyRequest</string> </value>
<value> <string>WebSection_viewLoyaltyRequestDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......
......@@ -163,7 +163,7 @@
</item>
<item>
<key> <string>custom_render_method_id</string> </key>
<value> <string>WebSection_viewLoyaltyRequest</string> </value>
<value> <string>WebSection_viewLoyaltyRequestDialog</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
......@@ -77,7 +77,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/ExternalIndentifier_view</string> </value>
<value> <string>string:${object_url}/ExternalIdentifier_view</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -99,15 +99,16 @@
<string>my_title</string>
<string>image_view</string>
<string>my_file</string>
<string>my_filename</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
<item>
<key> <string>right (Publication Information)</string> </key>
<value>
<list/>
<list>
<string>my_filename</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
</dictionary>
......
......@@ -93,7 +93,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ExternalIndentifier_view</string> </value>
<value> <string>ExternalIdentifier_view</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......
......@@ -86,8 +86,8 @@
<value>
<list>
<string>my_source</string>
<string>my_quantity</string>
<string>my_resource_title</string>
<string>my_translated_simulation_state_title</string>
</list>
</value>
</item>
......@@ -97,7 +97,7 @@
<list>
<string>my_start_date</string>
<string>my_destination</string>
<string>my_quantity</string>
<string>my_translated_simulation_state_title</string>
</list>
</value>
</item>
......
......@@ -2,4 +2,4 @@ certificate = context.getCertificate()
request = context.REQUEST
request.set('your_certificate', certificate['certificate'])
request.set('your_key', certificate['key'])
return context.Person_getCertificateForm()
return context.Person_viewCertificateDialog()
......@@ -111,7 +111,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Person_getCertificateForm</string> </value>
<value> <string>Person_viewCertificateDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -119,7 +119,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>Person_getCertificateForm</string> </value>
<value> <string>Person_viewCertificateDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2020 Nexedi SA and Contributors. All Rights Reserved.
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# garantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
from zope.interface import Interface
class ISpreadsheetConfiguratorItem(Interface):
"""Configurator Item using spreadsheet as data source for configuration
"""
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Interface Component" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_recorded_property_dict</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>ISpreadsheetConfiguratorItem</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>interface.erp5.ISpreadsheetConfiguratorItem</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Interface Component</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>text_content_error_message</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>erp5</string> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>component_validation_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>validate</string> </value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>validated</string> </value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -82,7 +82,9 @@
<item>
<key> <string>type_interface</string> </key>
<value>
<tuple/>
<tuple>
<string>ISpreadsheetConfiguratorItem</string>
</tuple>
</value>
</item>
<item>
......
......@@ -64,7 +64,9 @@
<item>
<key> <string>type_interface</string> </key>
<value>
<tuple/>
<tuple>
<string>ISpreadsheetConfiguratorItem</string>
</tuple>
</value>
</item>
<item>
......
......@@ -110,7 +110,7 @@
<string>my_comment</string>
<string>my_translated_simulation_state_title</string>
<string>my_translated_validation_state_title</string>
<string>my_configuration_state</string>
<string>my_translated_configuration_state_title</string>
</list>
</value>
</item>
......
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_configuration_state</string> </value>
<value> <string>my_translated_configuration_state_title</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......
interface.erp5.IConfiguratorItem
\ No newline at end of file
interface.erp5.IConfiguratorItem
interface.erp5.ISpreadsheetConfiguratorItem
\ No newline at end of file
......@@ -97,14 +97,16 @@
<key> <string>left</string> </key>
<value>
<list>
<string>my_translated_content_translation_state_title</string>
<string>my_title</string>
</list>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list/>
<list>
<string>my_translated_content_translation_state_title</string>
</list>
</value>
</item>
</dictionary>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_title</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>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_title</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>
......@@ -73,7 +73,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Event_viewDocumentFastInputList</string> </value>
<value> <string>string:${object_url}/Event_viewDocumentFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
......
"""Generic script of Entity_addEvent
"""Generic script to add event
It creates new Event for any context which become follow_up of created Event.
Connected user is source (outgoing direction)
......
from erp5.component.module.Log import log
log('Obsoleted, please use Base_addEvent (with Base_viewAddEventDialog) instead')
return context.Base_addEvent(title, direction, portal_type, resource, **kw)
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>title, direction, portal_type, resource, **kw</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Entity_addEvent</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ERP5 Form" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string>Entity_addEvent</string> </value>
</item>
<item>
<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>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>bottom</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>center</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>your_title</string>
<string>your_portal_type</string>
<string>your_direction</string>
<string>your_resource</string>
</list>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Entity_addEventDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>Entity_addEventDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_dialog</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Create New Event</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>your_portal_type</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_portal_type</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewCRMFieldLibrary</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>
......@@ -117,7 +117,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Event_viewDocumentFastInputList</string> </value>
<value> <string>Event_viewDocumentFastInputDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -125,7 +125,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>Event_viewDocumentFastInputList</string> </value>
<value> <string>Event_viewDocumentFastInputDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ERP5 Form" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>bottom</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>center</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ExternalWebPage_viewWebPageList</string> </value>
</item>
<item>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>ExternalWebSite_viewSubpages</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Subpages</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -102,7 +102,6 @@
<string>my_file</string>
<string>my_filename</string>
<string>my_translated_portal_type</string>
<string>my_translated_external_processing_state_title</string>
<string>my_revision</string>
</list>
</value>
......@@ -125,6 +124,7 @@
<string>my_function_list</string>
<string>my_follow_up_title_list</string>
<string>my_publication_section_list</string>
<string>my_translated_external_processing_state_title</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
......
......@@ -110,7 +110,6 @@
<string>my_file</string>
<string>my_filename</string>
<string>my_translated_portal_type</string>
<string>my_translated_external_processing_state_title</string>
<string>my_revision</string>
</list>
</value>
......@@ -125,6 +124,7 @@
<string>my_function_list</string>
<string>my_follow_up_title_list</string>
<string>my_publication_section_list</string>
<string>my_translated_external_processing_state_title</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
......
......@@ -110,7 +110,6 @@
<string>my_file</string>
<string>my_filename</string>
<string>my_thumbnail</string>
<string>my_translated_external_processing_state_title</string>
<string>my_revision</string>
</list>
</value>
......@@ -125,6 +124,7 @@
<string>my_function_list</string>
<string>my_follow_up_title_list</string>
<string>my_publication_section_list</string>
<string>my_translated_external_processing_state_title</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
......
......@@ -73,7 +73,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Event_viewDocumentFastInputList</string> </value>
<value> <string>string:${object_url}/Event_viewDocumentFastInputDialog</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -73,7 +73,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/BusinessTemplate_renameProxyFieldDialog</string> </value>
<value> <string>string:${object_url}/BusinessTemplate_viewRenameProxyFieldDialog</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -90,7 +90,6 @@
<string>my_causality_title</string>
<string>my_language</string>
<string>my_title</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
......@@ -100,6 +99,7 @@
<list>
<string>my_description</string>
<string>my_comment</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
......
......@@ -116,7 +116,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessTemplate_renameProxyFieldDialog</string> </value>
<value> <string>BusinessTemplate_viewRenameProxyFieldDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......
......@@ -63,7 +63,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Folder_pasteDocumentListStatusDialog</string> </value>
<value> <string>string:${object_url}/Folder_viewPasteDocumentListStatusDialog</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -18,7 +18,7 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Delete multiple documents at once</string> </value>
<value> <string>Paste multiple documents at once</string> </value>
</item>
<item>
<key> <string>edit_order</string> </key>
......@@ -87,7 +87,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Folder_pasteDocumentListStatusDialog</string> </value>
<value> <string>Folder_viewPasteDocumentListStatusDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -95,7 +95,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>Folder_pasteDocumentListStatusDialog</string> </value>
<value> <string>Folder_viewPasteDocumentListStatusDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......
......@@ -100,7 +100,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>UrlRegistryTool_viewRebuildUrlRegistry</string> </value>
<value> <string>UrlRegistryTool_viewRebuildUrlRegistryDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -108,7 +108,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>UrlRegistryTool_viewRebuildUrlRegistry</string> </value>
<value> <string>UrlRegistryTool_viewRebuildUrlRegistryDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......
erp5_full_text_mroonga_catalog
erp5_dms
\ No newline at end of file
......@@ -73,7 +73,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/TransformedResource_completeQuantityMatrixForm</string> </value>
<value> <string>string:${object_url}/TransformedResource_viewCompleteQuantityMatrixDialog</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -73,7 +73,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/TransformedResource_completeQuantityMatrixForm</string> </value>
<value> <string>string:${object_url}/TransformedResource_viewCompleteQuantityMatrixDialog</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -71,7 +71,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>TransformedResource_completeQuantityMatrixForm</string> </value>
<value> <string>TransformedResource_viewCompleteQuantityMatrixDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>TransformedResource_completeQuantityMatrixForm</string> </value>
<value> <string>TransformedResource_viewCompleteQuantityMatrixDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_report</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_report</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>milestones_report</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Milestones Report</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/ProjectModule_viewMilestoneReportDialog</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -92,7 +92,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ProjectModule_generateMilestoneReportDialog</string> </value>
<value> <string>ProjectModule_viewMilestoneReportDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......
......@@ -13,6 +13,7 @@
<string>default</string>
<string>items</string>
<string>size</string>
<string>title</string>
</list>
</value>
</item>
......@@ -119,6 +120,10 @@
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>State</string> </value>
</item>
</dictionary>
</value>
</item>
......
......@@ -87,4 +87,4 @@ listbox.append(total_dict)
context.Base_updateDialogForm(listbox=listbox)
return context.Project_viewQuantityReport(listbox=listbox)
return context.Project_viewQuantityReportDialog(listbox=listbox)
......@@ -111,8 +111,8 @@
<string>my_stop_date</string>
<string>my_source_title_list</string>
<string>my_requirement_title</string>
<string>my_translated_validation_state_title</string>
<string>my_forum_link_url_string</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
......
......@@ -120,7 +120,7 @@
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_dialog</string> </value>
<value> <string>form_list</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
......
......@@ -120,7 +120,7 @@
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_dialog</string> </value>
<value> <string>form_list</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
......
......@@ -37,6 +37,20 @@
<key> <string>action</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>action_title</string> </key>
<value> <string></string> </value>
</item>
<item>
<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>
......@@ -70,7 +84,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Project_viewQuantityReport</string> </value>
<value> <string>Project_viewQuantityReportDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -82,7 +96,7 @@
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_dialog</string> </value>
<value> <string>form_list</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
......@@ -104,6 +118,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>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ERP5 Form" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string>Base_edit</string> </value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>bottom</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>center</string> </key>
<value>
<list>
<string>my_comment</string>
<string>my_task_line_requirement_logical_path_list</string>
</list>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>my_title</string>
<string>my_predecessor_title_list</string>
<string>my_task_line_resource_title</string>
<string>my_source_title</string>
<string>my_source_project_title</string>
<string>my_specialise_title</string>
<string>my_translated_simulation_state_title</string>
<string>listbox</string>
</list>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list>
<string>my_start_date</string>
<string>my_stop_date</string>
<string>my_destination_title</string>
<string>my_destination_section_title</string>
<string>my_destination_decision_title</string>
<string>my_task_line_quantity</string>
<string>my_task_line_quantity_unit</string>
<string>my_task_line_price</string>
<string>total_price</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>TaskReport_viewItemList</string> </value>
</item>
<item>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>Task_view</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_view</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Task</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</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>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_context</string> </key>
<value> <string></string> </value>
</item>
<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>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</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_context</string> </key>
<value> <string></string> </value>
</item>
<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>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>extra_context</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_comment</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>TaskReport_viewFieldLibrary</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_destination_decision_title</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>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_context</string> </key>
<value> <string></string> </value>
</item>
<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>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</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_context</string> </key>
<value> <string></string> </value>
</item>
<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>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>extra_context</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_destination_decision_title</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>TaskReport_viewFieldLibrary</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment