Commit 669e6367 authored by Romain Courteaud's avatar Romain Courteaud

edit does not call propagateResourceToSimulation (which is kept for

compatibility) anymore.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3197 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c3a10c01
...@@ -103,7 +103,7 @@ class DeliveryLine(Movement, XMLObject, XMLMatrix, Variated): ...@@ -103,7 +103,7 @@ class DeliveryLine(Movement, XMLObject, XMLMatrix, Variated):
if self.isSimulated(): if self.isSimulated():
self.getRootDeliveryValue().edit() # So that we make sure that automatic workflow transitions self.getRootDeliveryValue().edit() # So that we make sure that automatic workflow transitions
# will be activated on the delivery # will be activated on the delivery
self.getRootDeliveryValue().activate().propagateResourceToSimulation() # self.getRootDeliveryValue().activate().propagateResourceToSimulation()
# We must check if the user has changed the resource of particular line # We must check if the user has changed the resource of particular line
security.declareProtected( Permissions.ModifyPortalContent, 'edit' ) 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