[Erp5-report] r38702 nicolas.dumazet - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: Po...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 28 10:25:08 CEST 2010
Author: nicolas.dumazet
Date: Tue Sep 28 10:25:05 2010
New Revision: 38702
URL: http://svn.erp5.org?rev=38702&view=rev
Log:
2010-09-28 nicolas.dumazet
* add portal type Event so that temporary Event objects can be created by NotificationTool
* document abstract portal types usage.
Added:
erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Event.xml
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Amount.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Movement.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/template_portal_type_id_list
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Amount.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Amount.xml?rev=38702&r1=38701&r2=38702&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Amount.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Amount.xml [utf8] Tue Sep 28 10:25:05 2010
@@ -14,9 +14,7 @@
</item>
<item>
<key> <string>description</string> </key>
- <value>
- <none/>
- </value>
+ <value> <string>This portal type is an abstract portal type, so that newTempAmount calls can succeed; one should never have to use this portal type for persistent objects.</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
@@ -50,6 +48,16 @@
<key> <string>portal_type</string> </key>
<value> <string>Base Type</string> </value>
</item>
+ <item>
+ <key> <string>type_class</string> </key>
+ <value> <string>Amount</string> </value>
+ </item>
+ <item>
+ <key> <string>type_mixin</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
</dictionary>
</pickle>
</record>
Added: erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Event.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Event.xml?rev=38702&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Event.xml (added)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Event.xml [utf8] Tue Sep 28 10:25:05 2010
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>content_icon</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string>The purpose of an Event object is to keep track of the interface between the ERP and third parties.\n
+\n
+This portal type is an abstract portal type, so that newTempEvent calls can succeed; one should never have to use this portal type for persistent objects.</string> </value>
+ </item>
+ <item>
+ <key> <string>factory</string> </key>
+ <value> <string>addEvent</string> </value>
+ </item>
+ <item>
+ <key> <string>group_list</string> </key>
+ <value>
+ <tuple>
+ <string>abstract</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>Event</string> </value>
+ </item>
+ <item>
+ <key> <string>init_script</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>permission</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>portal_type</string> </key>
+ <value> <string>Base Type</string> </value>
+ </item>
+ <item>
+ <key> <string>type_class</string> </key>
+ <value> <string>Event</string> </value>
+ </item>
+ <item>
+ <key> <string>type_mixin</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Movement.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Movement.xml?rev=38702&r1=38701&r2=38702&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Movement.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Movement.xml [utf8] Tue Sep 28 10:25:05 2010
@@ -14,9 +14,7 @@
</item>
<item>
<key> <string>description</string> </key>
- <value>
- <none/>
- </value>
+ <value> <string>This portal type is an abstract portal type, so that newTempMovement calls can succeed; one should never have to use this portal type for persistent objects.</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
@@ -50,6 +48,16 @@
<key> <string>portal_type</string> </key>
<value> <string>Base Type</string> </value>
</item>
+ <item>
+ <key> <string>type_class</string> </key>
+ <value> <string>Movement</string> </value>
+ </item>
+ <item>
+ <key> <string>type_mixin</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
</dictionary>
</pickle>
</record>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log?rev=38702&r1=38701&r2=38702&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log [utf8] Tue Sep 28 10:25:05 2010
@@ -1,3 +1,7 @@
+2010-09-28 nicolas.dumazet
+* add portal type Event so that temporary Event objects can be created by NotificationTool
+* document abstract portal types usage.
+
2010-09-27 nicolas.dumazet
* do not use manage_addTypeInformation anymore
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=38702&r1=38701&r2=38702&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Tue Sep 28 10:25:05 2010
@@ -1 +1 @@
-1731
\ No newline at end of file
+1732
\ No newline at end of file
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/template_portal_type_id_list
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/template_portal_type_id_list?rev=38702&r1=38701&r2=38702&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/template_portal_type_id_list [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/template_portal_type_id_list [utf8] Tue Sep 28 10:25:05 2010
@@ -24,6 +24,7 @@ Domain Generator
Domain Tool
Dummy Class Tool
Dynamic Category Property
+Event
Folder
Id Tool
Mapped Value
More information about the Erp5-report
mailing list