[Erp5-report] r33168 jp - /erp5/trunk/products/ERP5/interfaces/variated.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 1 10:57:16 CET 2010


Author: jp
Date: Mon Mar  1 10:57:11 2010
New Revision: 33168

URL: http://svn.erp5.org?rev=33168&view=rev
Log:
Missing method + typo

Modified:
    erp5/trunk/products/ERP5/interfaces/variated.py

Modified: erp5/trunk/products/ERP5/interfaces/variated.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/variated.py?rev=33168&r1=33167&r2=33168&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/variated.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/variated.py [utf8] Mon Mar  1 10:57:11 2010
@@ -55,6 +55,15 @@
   # are based on categories. General variations are encapsulated
   # into VariationValue instances.
 
+  # Property Variation Accessors
+  def getVariationPropertyList():
+    """
+    return the list of variation property IDs which are provided
+    by the variated instance.
+
+    Used in: Resource, Delivery Line, Delivery Cell
+    """
+
   # Discrete Variation Accessors
   def getVariationBaseCategoryList(omit_optional_variation=0,
                                    omit_individual_variation=0):
@@ -247,7 +256,7 @@
     Could be used in: Resource, Delivery Line (non terminal)
     """
 
-  def setVariationUid():
+  def getVariationUid():
     """
     returns a unique UID integer representation of the variation
     categories and properties of the current instance based
@@ -264,4 +273,4 @@
 
     Used in: Delivery Line (terminal), Delivery Cell
     Could be used in: Resource, Delivery Line (non terminal)
-    """
+    """




More information about the Erp5-report mailing list