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

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

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