[Erp5-report] r29593 - in /erp5/trunk/bt5/erp5_apparel: PropertySheetTemplateItem/ SkinTemp...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 13 14:34:10 CEST 2009
Author: fabien
Date: Tue Oct 13 14:34:09 2009
New Revision: 29593
URL: http://svn.erp5.org?rev=29593&view=rev
Log:
- remove ApparelModelMorphologyVariation PropertySheet, now it's not required to
overload variation_base_category, the default variation_base_category should be
defined on preference
(preferred_apparel_model_individual_variation_base_category_list).
- add init_script on Apparel Model Colour Variation and Apparel Model
Morphology portal_types to automatically set base_category using preferences
- remove variation_base_category from ApparelModelColourVariation
PropertySheet, now it's not needed to overload this property since it should
be define throught preferences
- add field my_variation_base_category on ApparelModelColourVariation_view and
ApparelModelMorphologyVariation_view to show which variation_base_category is
used
Removed:
erp5/trunk/bt5/erp5_apparel/PropertySheetTemplateItem/ApparelModelMorphologyVariation.py
erp5/trunk/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelModelMorphologyVariation_view/my_apparel_morpho_type.xml
Removed: erp5/trunk/bt5/erp5_apparel/PropertySheetTemplateItem/ApparelModelMorphologyVariation.py
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/PropertySheetTemplateItem/ApparelModelMorphologyVariation.py?rev=29592&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/PropertySheetTemplateItem/ApparelModelMorphologyVariation.py [utf8] (original)
+++ erp5/trunk/bt5/erp5_apparel/PropertySheetTemplateItem/ApparelModelMorphologyVariation.py (removed)
@@ -1,69 +1,0 @@
-##############################################################################
-#
-# Copyright (c) 2002 Coramy SAS and Contributors. All Rights Reserved.
-# Thierry Faucher <Thierry_Faucher at coramy.com>
-# Copyright (c) 2004, 2009 Nexedi SA and Contributors. All Rights Reserved.
-# Romain Courteaud <romain at nexedi.com>
-#
-# 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 ApparelModelMorphologyVariation:
- """
- ApparelModelMorphologyVariation properties and categories
- """
-
- _properties = (
- { 'id' : 'apparel_cloth_title',
- 'description' : 'title of the apparel clothes used',
- 'type' : 'lines',
- 'acquisition_base_category' : ('specialise',),
- 'acquisition_portal_type' : ('Apparel Cloth',),
- 'acquisition_copy_value' : 0,
- 'acquisition_mask_value' : 0,
- 'acquisition_accessor_id' : 'getTitle',
- 'acquisition_depends' : None,
- 'mode' : 'w' },
- # Override default value XXX
- { 'id' : 'variation_base_category',
- 'description' : 'A list of base categories which define possible discrete variations. '\
- 'Variation ranges are stored as category membership. '\
- '(prev. variation_category_list).',
- 'type' : 'tokens',
- 'default' : ['morphology' ],
- 'mode' : 'r' },
-# { 'id' : 'variation_base_category',
-# 'description' : 'A list of base categories which define possible discrete variations. '\
-# 'Variation ranges are stored as category membership. '\
-# '(prev. variation_category_list).',
-# 'type' : 'lines',
-# 'default' : ('colour', ),
-# 'mode' : 'r' },
- )
-
- # XXX _categories = ( 'morpho_type', 'specialise')
- # trash for betterimplementation (category)
- # remove this feature
-
Removed: erp5/trunk/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelModelMorphologyVariation_view/my_apparel_morpho_type.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelModelMorphologyVariation_view/my_apparel_morpho_type.xml?rev=29592&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelModelMorphologyVariation_view/my_apparel_morpho_type.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelModelMorphologyVariation_view/my_apparel_morpho_type.xml (removed)
@@ -1,286 +1,0 @@
-<?xml version="1.0"?>
-<ZopeData>
- <record id="1" aka="AAAAAAAAAAE=">
- <pickle>
- <tuple>
- <global name="ListField" module="Products.Formulator.StandardFields"/>
- <tuple/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>id</string> </key>
- <value> <string>my_apparel_morpho_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>
- <item>
- <key> <string>required_not_found</string> </key>
- <value> <string>Input is required but no input given.</string> </value>
- </item>
- <item>
- <key> <string>unknown_selection</string> </key>
- <value> <string>You selected an item that was not in the list.</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</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>extra_item</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>first_item</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>hidden</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>items</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>required</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>size</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>title</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>unicode</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>whitespace_preserve</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</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>extra_item</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>first_item</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>hidden</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>items</string> </key>
- <value>
- <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
- </value>
- </item>
- <item>
- <key> <string>required</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>size</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>title</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>unicode</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>whitespace_preserve</string> </key>
- <value> <string></string> </value>
- </item>
- </dictionary>
- </value>
- </item>
- <item>
- <key> <string>values</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> <int>1</int> </value>
- </item>
- <item>
- <key> <string>enabled</string> </key>
- <value> <int>1</int> </value>
- </item>
- <item>
- <key> <string>external_validator</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>extra</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>extra_item</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>first_item</string> </key>
- <value> <int>0</int> </value>
- </item>
- <item>
- <key> <string>hidden</string> </key>
- <value> <int>0</int> </value>
- </item>
- <item>
- <key> <string>items</string> </key>
- <value>
- <list/>
- </value>
- </item>
- <item>
- <key> <string>required</string> </key>
- <value> <int>0</int> </value>
- </item>
- <item>
- <key> <string>size</string> </key>
- <value> <int>1</int> </value>
- </item>
- <item>
- <key> <string>title</string> </key>
- <value> <string>Morphology</string> </value>
- </item>
- <item>
- <key> <string>unicode</string> </key>
- <value> <int>0</int> </value>
- </item>
- <item>
- <key> <string>whitespace_preserve</string> </key>
- <value> <int>0</int> </value>
- </item>
- </dictionary>
- </value>
- </item>
- </dictionary>
- </pickle>
- </record>
- <record id="2" aka="AAAAAAAAAAI=">
- <pickle>
- <tuple>
- <tuple>
- <string>Products.Formulator.TALESField</string>
- <string>TALESMethod</string>
- </tuple>
- <none/>
- </tuple>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>_text</string> </key>
- <value> <string>here/portal_categories/apparel_morpho_type/getCategoryChildLogicalPathItemList</string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
More information about the Erp5-report
mailing list