Commit 87ccbb29 authored by Jérome Perrin's avatar Jérome Perrin

Merge remote-tracking branch 'upstream/master' into zope4py2

parents fda07299 f13ea212
Pipeline #22931 failed with stage
in 0 seconds
......@@ -44,7 +44,8 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assignee: Associate</string>
<string>Assignee</string>
<string>Associate</string>
</tuple>
</value>
</item>
......
......@@ -333,14 +333,14 @@ class DeliveryLine(Movement, XMLMatrix, ImmobilisationMovement):
def manage_afterAdd(self, item, container):
"if the container is a line too, reindex it"
if self.meta_type == container.meta_type:
container.reindexObject()
container.activate(activity="SQLDict").reindexObject()
return Movement.manage_afterAdd(self, item, container)
security.declarePrivate('manage_beforeDelete')
def manage_beforeDelete(self, item, container):
"if the container is a line too, reindex it"
if self.meta_type == container.meta_type:
container.reindexObject()
container.activate(activity="SQLDict").reindexObject()
return Movement.manage_beforeDelete(self, item, container)
# divergence support with solving
......
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