Commit bf618342 authored by Jérome Perrin's avatar Jérome Perrin

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
parent 18118d18
......@@ -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' )
......
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