Commit a66edf2e authored by Aurel's avatar Aurel

isInventoryLine must be isInventoryMovement, and must also be defined

on IventoryCell


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16119 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9b7f05cb
......@@ -46,6 +46,7 @@ class InventoryCell(DeliveryCell):
isPortalContent = 1
isRADContent = 1
isMovement = 1
isInventoryMovement = 1
# Declarative security
security = ClassSecurityInfo()
......
......@@ -45,7 +45,7 @@ class InventoryLine(DeliveryLine):
add_permission = Permissions.AddPortalContent
isPortalContent = 1
isRADContent = 1
isInventoryLine = 1
isInventoryMovement = 1
# Declarative security
security = ClassSecurityInfo()
......@@ -67,6 +67,7 @@ class InventoryLine(DeliveryLine):
, PropertySheet.ItemAggregation
)
def _edit(self, REQUEST=None, force_update = 0, **kw):
DeliveryLine._edit(self, REQUEST=REQUEST, force_update = force_update, **kw)
# Calculate inventory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment