[Erp5-report] r7382 - /erp5/trunk/products/ERP5/PropertySheet/DefaultSupply.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon May 22 10:38:29 CEST 2006


Author: jerome
Date: Mon May 22 10:38:26 2006
New Revision: 7382

URL: http://svn.erp5.org?rev=7382&view=rev
Log:
portal_type argument must be a list for `content` properties

Modified:
    erp5/trunk/products/ERP5/PropertySheet/DefaultSupply.py

Modified: erp5/trunk/products/ERP5/PropertySheet/DefaultSupply.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/DefaultSupply.py?rev=7382&r1=7381&r2=7382&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/DefaultSupply.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/DefaultSupply.py Mon May 22 10:38:26 2006
@@ -37,13 +37,15 @@
             'storage_id'  : 'default_supply_line',
             'description' : '',
             'type'        : 'content',
-            'portal_type' : 'Supply Line',
-            'acquired_property_id' : ('base_price','id','priced_quantity','price_currency',
-                                      'source','destination','quantity_step','priced_quantity',
-                                      'start_date','stop_date','start_date_range_max',
-                                      'start_date_range_min'),
+            'portal_type' : ('Supply Line',),
+            'acquired_property_id' : ('base_price', 'id', 'priced_quantity',
+                                  'price_currency', 'source', 'destination',
+                                  'quantity_step', 'priced_quantity',
+                                  'start_date', 'stop_date',
+                                  'start_date_range_max',
+                                  'start_date_range_min'),
             'mode'        : 'w' },
        )
 
-    _categories = () 
+    _categories = ()
 




More information about the Erp5-report mailing list