[Erp5-report] r16110 - in /erp5/trunk/products: ERP5/Document/ ERP5Type/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Sep 6 14:22:08 CEST 2007
Author: vincent
Date: Thu Sep 6 14:22:08 2007
New Revision: 16110
URL: http://svn.erp5.org?rev=16110&view=rev
Log:
Add 2 new class-properties: isInventory and isInventoryLine.
Modified:
erp5/trunk/products/ERP5/Document/Inventory.py
erp5/trunk/products/ERP5/Document/InventoryLine.py
erp5/trunk/products/ERP5Type/Base.py
Modified: erp5/trunk/products/ERP5/Document/Inventory.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Inventory.py?rev=16110&r1=16109&r2=16110&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Inventory.py (original)
+++ erp5/trunk/products/ERP5/Document/Inventory.py Thu Sep 6 14:22:08 2007
@@ -42,6 +42,7 @@
isPortalContent = 1
isRADContent = 1
isDelivery = 1
+ isInventory = 1
# Declarative security
security = ClassSecurityInfo()
Modified: erp5/trunk/products/ERP5/Document/InventoryLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/InventoryLine.py?rev=16110&r1=16109&r2=16110&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/InventoryLine.py (original)
+++ erp5/trunk/products/ERP5/Document/InventoryLine.py Thu Sep 6 14:22:08 2007
@@ -45,6 +45,7 @@
add_permission = Permissions.AddPortalContent
isPortalContent = 1
isRADContent = 1
+ isInventoryLine = 1
# Declarative security
security = ClassSecurityInfo()
Modified: erp5/trunk/products/ERP5Type/Base.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Base.py?rev=16110&r1=16109&r2=16110&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Base.py (original)
+++ erp5/trunk/products/ERP5Type/Base.py Thu Sep 6 14:22:08 2007
@@ -674,6 +674,8 @@
isBaseCategory = 0 #
isMovement = 0 #
isDelivery = 0 #
+ isInventory = 0 #
+ isInventoryLine = 0 #
isIndexable = 1 # If set to 0, reindexing will not happen (useful for optimization)
isPredicate = 0 #
isTemplate = 0 #
More information about the Erp5-report
mailing list