[Erp5-report] r16119 - /erp5/trunk/products/ERP5/Document/

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 6 16:29:34 CEST 2007


Author: aurel
Date: Thu Sep  6 16:29:33 2007
New Revision: 16119

URL: http://svn.erp5.org?rev=16119&view=rev
Log:
isInventoryLine must be isInventoryMovement, and must also be defined
on IventoryCell

Modified:
    erp5/trunk/products/ERP5/Document/InventoryCell.py
    erp5/trunk/products/ERP5/Document/InventoryLine.py

Modified: erp5/trunk/products/ERP5/Document/InventoryCell.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/InventoryCell.py?rev=16119&r1=16118&r2=16119&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/InventoryCell.py (original)
+++ erp5/trunk/products/ERP5/Document/InventoryCell.py Thu Sep  6 16:29:33 2007
@@ -46,6 +46,7 @@
     isPortalContent = 1
     isRADContent = 1
     isMovement = 1
+    isInventoryMovement = 1
 
     # Declarative security
     security = ClassSecurityInfo()
@@ -66,7 +67,7 @@
                       , PropertySheet.MappedValue
                       , PropertySheet.ItemAggregation
                       )
-
+    
     def _edit(self, REQUEST=None, force_update = 0, **kw):
       DeliveryCell._edit(self, REQUEST=REQUEST, force_update = force_update, **kw)
       # Calculate inventory

Modified: erp5/trunk/products/ERP5/Document/InventoryLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/InventoryLine.py?rev=16119&r1=16118&r2=16119&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/InventoryLine.py (original)
+++ erp5/trunk/products/ERP5/Document/InventoryLine.py Thu Sep  6 16:29:33 2007
@@ -45,7 +45,7 @@
     add_permission = Permissions.AddPortalContent
     isPortalContent = 1
     isRADContent = 1
-    isInventoryLine = 1
+    isInventoryMovement = 1
 
     # Declarative security
     security = ClassSecurityInfo()
@@ -66,6 +66,7 @@
                       , PropertySheet.VariationRange
                       , PropertySheet.ItemAggregation
                       )
+
 
     def _edit(self, REQUEST=None, force_update = 0, **kw):
       DeliveryLine._edit(self, REQUEST=REQUEST, force_update = force_update, **kw)




More information about the Erp5-report mailing list