From 2a2907ffd243cc64caba9bc6635297ceee62b698 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Fri, 4 Dec 2009 09:41:40 +0000
Subject: [PATCH] readd ApparelColourRangeVariation,
 apparel_fabric_colour_variation_title property is usefull.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31066 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../ApparelColourRangeVariation.py            | 49 +++++++++++++++++++
 bt5/erp5_apparel/bt/revision                  |  2 +-
 .../bt/template_property_sheet_id_list        |  1 +
 3 files changed, 51 insertions(+), 1 deletion(-)
 create mode 100644 bt5/erp5_apparel/PropertySheetTemplateItem/ApparelColourRangeVariation.py

diff --git a/bt5/erp5_apparel/PropertySheetTemplateItem/ApparelColourRangeVariation.py b/bt5/erp5_apparel/PropertySheetTemplateItem/ApparelColourRangeVariation.py
new file mode 100644
index 0000000000..d50f955a5a
--- /dev/null
+++ b/bt5/erp5_apparel/PropertySheetTemplateItem/ApparelColourRangeVariation.py
@@ -0,0 +1,49 @@
+##############################################################################
+#
+# Copyright (c) 2002 Coramy SAS and Contributors. All Rights Reserved.
+#          Thierry Faucher <Thierry_Faucher@coramy.com>
+# Copyright (c) 2004 - 2009 Nexedi SA and Contributors. All Rights Reserved.
+#          Romain Courteaud <romain@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 ApparelColourRangeVariation:
+  """
+    ApparelColourRangeVariation properties and categories
+  """
+
+  _properties = (
+  {   'id'          : 'apparel_fabric_colour_variation_title', 
+      'description' : 'Title of the apparel fabric colour variation',
+      'type'        : 'lines',
+      'acquisition_base_category' : ('specialise',),
+      'acquisition_portal_type'   : ('Apparel Fabric Colour Variation',),
+      'acquisition_copy_value'    : 0,
+      'acquisition_mask_value'    : 0,
+      'acquisition_accessor_id'   : 'getTitle',
+      'acquisition_depends'       : None,
+      'mode'        : 'w' },
+   )
diff --git a/bt5/erp5_apparel/bt/revision b/bt5/erp5_apparel/bt/revision
index 0acdeb509d..e99fdcc524 100644
--- a/bt5/erp5_apparel/bt/revision
+++ b/bt5/erp5_apparel/bt/revision
@@ -1 +1 @@
-216
\ No newline at end of file
+217
\ No newline at end of file
diff --git a/bt5/erp5_apparel/bt/template_property_sheet_id_list b/bt5/erp5_apparel/bt/template_property_sheet_id_list
index 03a33e6813..63c3c5b699 100644
--- a/bt5/erp5_apparel/bt/template_property_sheet_id_list
+++ b/bt5/erp5_apparel/bt/template_property_sheet_id_list
@@ -9,6 +9,7 @@ ApparelLabel
 ApparelAssortment
 ApparelFabricColourVariation
 ApparelModelColourVariation
+ApparelColourRangeVariation
 ApparelComponentVariation
 ApparelSize
 ApparelPreference
-- 
2.30.9