[Erp5-report] r43822 seb - in /erp5/trunk/bt5/erp5_project: PropertySheetTemplateItem/ Prop...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Feb 28 16:55:04 CET 2011
Author: seb
Date: Mon Feb 28 16:55:03 2011
New Revision: 43822
URL: http://svn.erp5.org?rev=43822&view=rev
Log:
use new style propertysheets
Added:
erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/
erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/TaskOrder/
erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/TaskOrder.xml
erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/TaskOrder/task_line_property.xml
Removed:
erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/TaskOrder.py
Modified:
erp5/trunk/bt5/erp5_project/bt/revision
Removed: erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/TaskOrder.py
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/TaskOrder.py?rev=43821&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/TaskOrder.py [utf8] (original)
+++ erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/TaskOrder.py (removed)
@@ -1,51 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Nexedi SARL 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.
-#
-##############################################################################
-
-class TaskOrder:
- """
- Default task line support for TaskOrder
- """
-
- _properties = (
- { 'id' : 'task_line',
- 'storage_id' : 'default_task_line',
- 'description' : 'The default task line for a task.',
- 'type' : 'content',
- 'portal_type' : ( 'Task Line', ),
- 'acquired_property_id': ( 'quantity', 'quantity_unit', 'price',
- 'quantity_unit_title',
- 'quantity_unit_logical_path',
- 'description',
- 'resource', 'resource_value',
- 'resource_title',
- 'requirement', 'requirement_value_list',
- 'requirement_value',
- 'requirement_uid_list',
- 'requirement_logical_path' ),
- 'mode' : 'w',
- },
- )
Added: erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/TaskOrder.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/TaskOrder.xml?rev=43822&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/TaskOrder.xml (added)
+++ erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/TaskOrder.xml [utf8] Mon Feb 28 16:55:03 2011
@@ -0,0 +1,64 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="Property Sheet" module="erp5.portal_type"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_count</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>_mt_index</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>_tree</string> </key>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>TaskOrder</string> </value>
+ </item>
+ <item>
+ <key> <string>last_id</string> </key>
+ <value> <string>1</string> </value>
+ </item>
+ <item>
+ <key> <string>portal_type</string> </key>
+ <value> <string>Property Sheet</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+ <record id="2" aka="AAAAAAAAAAI=">
+ <pickle>
+ <global name="Length" module="BTrees.Length"/>
+ </pickle>
+ <pickle> <int>0</int> </pickle>
+ </record>
+ <record id="3" aka="AAAAAAAAAAM=">
+ <pickle>
+ <global name="OOBTree" module="BTrees.OOBTree"/>
+ </pickle>
+ <pickle>
+ <none/>
+ </pickle>
+ </record>
+ <record id="4" aka="AAAAAAAAAAQ=">
+ <pickle>
+ <global name="OOBTree" module="BTrees.OOBTree"/>
+ </pickle>
+ <pickle>
+ <none/>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/TaskOrder/task_line_property.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/TaskOrder/task_line_property.xml?rev=43822&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/TaskOrder/task_line_property.xml (added)
+++ erp5/trunk/bt5/erp5_project/PropertySheetTemplateItem/portal_property_sheets/TaskOrder/task_line_property.xml [utf8] Mon Feb 28 16:55:03 2011
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="Acquired Property" module="erp5.portal_type"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_local_properties</string> </key>
+ <value>
+ <tuple>
+ <dictionary>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>mode</string> </value>
+ </item>
+ <item>
+ <key> <string>type</string> </key>
+ <value> <string>string</string> </value>
+ </item>
+ </dictionary>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>categories</string> </key>
+ <value>
+ <tuple>
+ <string>elementary_type/content</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>content_acquired_property_id</string> </key>
+ <value>
+ <tuple>
+ <string>quantity</string>
+ <string>quantity_unit</string>
+ <string>price</string>
+ <string>quantity_unit_title</string>
+ <string>quantity_unit_logical_path</string>
+ <string>description</string>
+ <string>resource</string>
+ <string>resource_value</string>
+ <string>resource_title</string>
+ <string>requirement</string>
+ <string>requirement_value_list</string>
+ <string>requirement_value</string>
+ <string>requirement_uid_list</string>
+ <string>requirement_logical_path</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>content_portal_type</string> </key>
+ <value> <string>python: (\'Task Line\',)</string> </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string>The default task line for a task.</string> </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>task_line_property</string> </value>
+ </item>
+ <item>
+ <key> <string>mode</string> </key>
+ <value> <string>w</string> </value>
+ </item>
+ <item>
+ <key> <string>portal_type</string> </key>
+ <value> <string>Acquired Property</string> </value>
+ </item>
+ <item>
+ <key> <string>storage_id</string> </key>
+ <value> <string>default_task_line</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_project/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_project/bt/revision?rev=43822&r1=43821&r2=43822&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_project/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_project/bt/revision [utf8] Mon Feb 28 16:55:03 2011
@@ -1 +1 @@
-797
\ No newline at end of file
+798
\ No newline at end of file
More information about the Erp5-report
mailing list