From bf6183427c57eb472ca513026f6fb332a7a9f700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 21 Nov 2005 23:51:21 +0000 Subject: [PATCH] Remove interraction that is now implemented in an interraction workflow. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4371 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/DeliveryLine.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/product/ERP5/Document/DeliveryLine.py b/product/ERP5/Document/DeliveryLine.py index 9c5e2341fd..41be93b975 100755 --- a/product/ERP5/Document/DeliveryLine.py +++ b/product/ERP5/Document/DeliveryLine.py @@ -95,14 +95,11 @@ class DeliveryLine(Movement, XMLObject, XMLMatrix, Variated): self._setVariationBaseCategoryList( kw['variation_base_category_list'] ) if kw.has_key('variation_category_list'): self._setVariationCategoryList( kw['variation_category_list'] ) - Movement._edit(self, REQUEST=REQUEST, force_update = force_update, **kw) + Movement._edit(self, REQUEST=REQUEST, + force_update = force_update, **kw) # This one must be the last if kw.has_key('item_id_list'): self._setItemIdList( kw['item_id_list'] ) - if self.isSimulated(): - self.getRootDeliveryValue().edit() # So that we make sure that automatic workflow transitions - # will be activated on the delivery -# self.getRootDeliveryValue().activate().propagateResourceToSimulation() # We must check if the user has changed the resource of particular line security.declareProtected( Permissions.ModifyPortalContent, 'edit' ) -- 2.30.9