Commit 53f98a80 authored by Yusei Tahara's avatar Yusei Tahara

ERP5/Document/DeliveryCell.py: Movements are not predicates.

parent 7afd6521
......@@ -69,6 +69,12 @@ class DeliveryCell(MappedValue, Movement, ImmobilisationMovement):
# Declarative interfaces
zope.interface.implements(interfaces.IDivergenceController,)
security.declareProtected(Permissions.AccessContentsInformation, 'isPredicate')
def isPredicate(self):
"""Movements are not predicates.
"""
return False
# MatrixBox methods
security.declareProtected( Permissions.AccessContentsInformation,
'hasCellContent' )
......
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