Commit 141e5602 authored by Jean-Paul Smets's avatar Jean-Paul Smets

local implemetation of isDivergent


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@305 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9fc8f96e
...@@ -136,13 +136,6 @@ Une ligne tarifaire.""" ...@@ -136,13 +136,6 @@ Une ligne tarifaire."""
if kw.has_key('item_id_list'): if kw.has_key('item_id_list'):
self._setItemIdList( kw['item_id_list'] ) self._setItemIdList( kw['item_id_list'] )
security.declareProtected(Permissions.View, 'isDivergent')
def isDivergent(self):
"""
For DeliveryCell, consider orphane
"""
return Movement.isDivergent(self) or (not self.hasSimulationMovement())
security.declareProtected( Permissions.ModifyPortalContent, 'hasCellContent' ) security.declareProtected( Permissions.ModifyPortalContent, 'hasCellContent' )
def hasCellContent(self, base_id='movement'): def hasCellContent(self, base_id='movement'):
""" """
......
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