[Erp5-report] r38868 fabien - in /experimental/bt5/erp5_credential: PortalTypePropertySheet...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Oct 4 15:37:48 CEST 2010
Author: fabien
Date: Mon Oct 4 15:37:45 2010
New Revision: 38868
URL: http://svn.erp5.org?rev=38868&view=rev
Log:
revert r38795 & 38796 as start_date will be used for other purpose.
Added:
experimental/bt5/erp5_credential/PropertySheetTemplateItem/CredentialRequest.py
experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_view/my_birthday.xml
Modified:
experimental/bt5/erp5_credential/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
experimental/bt5/erp5_credential/PortalTypeTemplateItem/portal_types/Credential%20Request.xml
experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_view.xml
experimental/bt5/erp5_credential/bt/revision
experimental/bt5/erp5_credential/bt/template_portal_type_property_sheet_list
experimental/bt5/erp5_credential/bt/template_property_sheet_id_list
Modified: experimental/bt5/erp5_credential/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/PortalTypePropertySheetTemplateItem/property_sheet_list.xml?rev=38868&r1=38867&r2=38868&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/PortalTypePropertySheetTemplateItem/property_sheet_list.xml [utf8] (original)
+++ experimental/bt5/erp5_credential/PortalTypePropertySheetTemplateItem/property_sheet_list.xml [utf8] Mon Oct 4 15:37:45 2010
@@ -4,6 +4,7 @@
</portal_type>
<portal_type id="Credential Request">
<item>CredentialOrganisationProperties</item>
+ <item>CredentialRequest</item>
</portal_type>
<portal_type id="Credential Update">
<item>DefaultImage</item>
Modified: experimental/bt5/erp5_credential/PortalTypeTemplateItem/portal_types/Credential%20Request.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/PortalTypeTemplateItem/portal_types/Credential%2520Request.xml?rev=38868&r1=38867&r2=38868&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/PortalTypeTemplateItem/portal_types/Credential%20Request.xml [utf8] (original)
+++ experimental/bt5/erp5_credential/PortalTypeTemplateItem/portal_types/Credential%20Request.xml [utf8] Mon Oct 4 15:37:45 2010
@@ -29,17 +29,23 @@
</value>
</item>
<item>
- <key> <string>short_title</string> </key>
+ <key> <string>organisation_title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
<item>
- <key> <string>title</string> </key>
+ <key> <string>short_title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
</value>
</item>
+ <item>
+ <key> <string>title</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent>
+ </value>
+ </item>
</dictionary>
</value>
</item>
@@ -101,6 +107,16 @@
<key> <string>product</string> </key>
<value> <string>ERP5Type</string> </value>
</item>
+ <item>
+ <key> <string>type_class</string> </key>
+ <value> <string>CredentialRequest</string> </value>
+ </item>
+ <item>
+ <key> <string>type_mixin</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
</dictionary>
</pickle>
</record>
@@ -167,7 +183,7 @@
</item>
<item>
<key> <string>property_name</string> </key>
- <value> <string>short_title</string> </value>
+ <value> <string>organisation_title</string> </value>
</item>
</dictionary>
</pickle>
@@ -184,6 +200,23 @@
</item>
<item>
<key> <string>property_name</string> </key>
+ <value> <string>short_title</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+ <record id="7" aka="AAAAAAAAAAc=">
+ <pickle>
+ <global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>domain_name</string> </key>
+ <value> <string>erp5_content</string> </value>
+ </item>
+ <item>
+ <key> <string>property_name</string> </key>
<value> <string>title</string> </value>
</item>
</dictionary>
Added: experimental/bt5/erp5_credential/PropertySheetTemplateItem/CredentialRequest.py
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/PropertySheetTemplateItem/CredentialRequest.py?rev=38868&view=auto
==============================================================================
--- experimental/bt5/erp5_credential/PropertySheetTemplateItem/CredentialRequest.py (added)
+++ experimental/bt5/erp5_credential/PropertySheetTemplateItem/CredentialRequest.py [utf8] Mon Oct 4 15:37:45 2010
@@ -0,0 +1,39 @@
+##############################################################################
+#
+# Copyright (c) 2002-2010 Nexedi SA and Contributors. All Rights Reserved.
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsibility 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
+# guarantees 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+##############################################################################
+
+class CredentialRequest:
+ """
+ CredentialRequest property sheet
+ """
+ _properties = (
+ { 'id' : 'birthday',
+ 'description' : 'Date of birth',
+ 'type' : 'date',
+ 'mode' : 'w',
+ },
+ )
+
Modified: experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_view.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_view.xml?rev=38868&r1=38867&r2=38868&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_view.xml [utf8] (original)
+++ experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_view.xml [utf8] Mon Oct 4 15:37:45 2010
@@ -112,7 +112,7 @@
<string>my_default_telephone_text</string>
<string>my_default_mobile_telephone_text</string>
<string>my_default_email_text</string>
- <string>my_start_date</string>
+ <string>my_birthday</string>
<string>my_nationality</string>
<string>my_activity_list</string>
<string>my_skill_list</string>
Added: experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_view/my_birthday.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_view/my_birthday.xml?rev=38868&view=auto
==============================================================================
--- experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_view/my_birthday.xml (added)
+++ experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_view/my_birthday.xml [utf8] Mon Oct 4 15:37:45 2010
@@ -0,0 +1,98 @@
+<?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_birthday</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>description</string> </key>
+ <value> <string>The date of birth for the person.</string> </value>
+ </item>
+ <item>
+ <key> <string>field_id</string> </key>
+ <value> <string>my_start_date</string> </value>
+ </item>
+ <item>
+ <key> <string>form_id</string> </key>
+ <value> <string>Person_viewFieldLibrary</string> </value>
+ </item>
+ <item>
+ <key> <string>target</string> </key>
+ <value> <string>Click to edit the target</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Birthday</string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: experimental/bt5/erp5_credential/bt/revision
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/bt/revision?rev=38868&r1=38867&r2=38868&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/bt/revision [utf8] (original)
+++ experimental/bt5/erp5_credential/bt/revision [utf8] Mon Oct 4 15:37:45 2010
@@ -1 +1 @@
-247
\ No newline at end of file
+248
\ No newline at end of file
Modified: experimental/bt5/erp5_credential/bt/template_portal_type_property_sheet_list
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/bt/template_portal_type_property_sheet_list?rev=38868&r1=38867&r2=38868&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/bt/template_portal_type_property_sheet_list [utf8] (original)
+++ experimental/bt5/erp5_credential/bt/template_portal_type_property_sheet_list [utf8] Mon Oct 4 15:37:45 2010
@@ -1,4 +1,5 @@
Credential Question | CredentialQuestion
Credential Request | CredentialOrganisationProperties
+Credential Request | CredentialRequest
Credential Update | DefaultImage
Person | DefaultCredentialQuestion
\ No newline at end of file
Modified: experimental/bt5/erp5_credential/bt/template_property_sheet_id_list
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/bt/template_property_sheet_id_list?rev=38868&r1=38867&r2=38868&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/bt/template_property_sheet_id_list [utf8] (original)
+++ experimental/bt5/erp5_credential/bt/template_property_sheet_id_list [utf8] Mon Oct 4 15:37:45 2010
@@ -1,4 +1,5 @@
CredentialQuestion
+CredentialRequest
DefaultCredentialQuestion
CredentialPreference
CredentialOrganisationProperties
\ No newline at end of file
More information about the Erp5-report
mailing list