From 141e560276587222475017d546a9ff3ef42cb9bb Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Fri, 23 Jan 2004 18:54:08 +0000 Subject: [PATCH] local implemetation of isDivergent git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@305 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/DeliveryCell.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/product/ERP5/Document/DeliveryCell.py b/product/ERP5/Document/DeliveryCell.py index 4e1b75637c..64d6eaf14c 100755 --- a/product/ERP5/Document/DeliveryCell.py +++ b/product/ERP5/Document/DeliveryCell.py @@ -136,13 +136,6 @@ Une ligne tarifaire.""" if kw.has_key('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' ) def hasCellContent(self, base_id='movement'): """ -- 2.30.9