[Erp5-report] r16111 - in /erp5/trunk/products/ERP5: Document/ PropertySheet/

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 6 14:23:14 CEST 2007


Author: vincent
Date: Thu Sep  6 14:23:14 2007
New Revision: 16111

URL: http://svn.erp5.org?rev=16111&view=rev
Log:
Define a new property sheet for Inventory document type.

Added:
    erp5/trunk/products/ERP5/PropertySheet/Inventory.py
Modified:
    erp5/trunk/products/ERP5/Document/Inventory.py

Modified: erp5/trunk/products/ERP5/Document/Inventory.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Inventory.py?rev=16111&r1=16110&r2=16111&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Inventory.py (original)
+++ erp5/trunk/products/ERP5/Document/Inventory.py Thu Sep  6 14:23:14 2007
@@ -59,6 +59,7 @@
                       , PropertySheet.Delivery
                       , PropertySheet.Path
                       , PropertySheet.FlowCapacity
+                      , PropertySheet.Inventory
                       )
 
     security.declarePublic('alternateReindexObject')

Added: erp5/trunk/products/ERP5/PropertySheet/Inventory.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/Inventory.py?rev=16111&view=auto
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Inventory.py (added)
+++ erp5/trunk/products/ERP5/PropertySheet/Inventory.py Thu Sep  6 14:23:14 2007
@@ -1,0 +1,47 @@
+##############################################################################
+#
+# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
+#                    Jean-Paul Smets-Solanes <jp 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.
+#
+##############################################################################
+
+# This has to be chanegd and improved by the new category acquisition tool
+from Products.CMFCore.Expression import Expression
+
+class Inventory:
+  """
+        Properties for Inventory.
+  """
+
+  _properties = (
+
+    # Inventory
+    { 'id'          : 'full_inventory',
+      'description' : """Set to True if inventory contains everything, False if it's only a partial inventory.""",
+      'type'        : 'boolean',
+      'default'     : False,
+      'mode'        : 'w' },
+  )
+
+  _categories = ()




More information about the Erp5-report mailing list