[Erp5-report] r19371 - /erp5/trunk/products/ERP5Type/PropertySheet/Folder.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 19 10:02:42 CET 2008


Author: jerome
Date: Tue Feb 19 10:02:41 2008
New Revision: 19371

URL: http://svn.erp5.org?rev=19371&view=rev
Log:
set the default last_id to 0 to make sure ID are generated from 1

Modified:
    erp5/trunk/products/ERP5Type/PropertySheet/Folder.py

Modified: erp5/trunk/products/ERP5Type/PropertySheet/Folder.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/PropertySheet/Folder.py?rev=19371&r1=19370&r2=19371&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/PropertySheet/Folder.py (original)
+++ erp5/trunk/products/ERP5Type/PropertySheet/Folder.py Tue Feb 19 10:02:41 2008
@@ -42,7 +42,7 @@
         {   'id'          : 'last_id',
             'description' : 'The default ID group for objects in this folder',
             'type'        : 'string',
-            'default'     : '1',
+            'default'     : '0',
             'mode'        : 'w'},
         {   'id'          : 'id_generator',
             'description' : 'The name of the function to use to generate the Id of a new contained object. Default behaviour (when this value is not set or the function cannot be found) is to increment last_id and update it.',




More information about the Erp5-report mailing list